List index out of bounds for SQL Server
Posted: Tue 14 Oct 2014 14:20
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
Stack trace:

Using UniDAC Version 5.5.12 for Delphi XE2 with MSSQL 2008
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

Using UniDAC Version 5.5.12 for Delphi XE2 with MSSQL 2008