Page 1 of 1

List index out of bounds for SQL Server

Posted: Tue 14 Oct 2014 14:20
by martind1
On some cirumstances opening TUniQuery throws Exception 'List index out of bounds'.
The error occurs after changing the SQL of a detailtable during the OnDataChange event of the datasource of the mastertable to a value without :parameters

Code: Select all

from:
select * from AR where AR_NR = :AR_NR
to:
select * from AR where AR_NR = 1234
Stack trace:
Image
Using UniDAC Version 5.5.12 for Delphi XE2 with MSSQL 2008

Re: List index out of bounds for SQL Server

Posted: Wed 15 Oct 2014 08:38
by azyk
We couldn't reproduce the problem. Please try to compose a small sample to demonstrate the problem and send it to andreyz*devart*com.