List index out of bounds for SQL Server

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
martind1
Posts: 17
Joined: Mon 19 Oct 2009 05:15

List index out of bounds for SQL Server

Post by martind1 » 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

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

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: List index out of bounds for SQL Server

Post by azyk » Wed 15 Oct 2014 08:38

We couldn't reproduce the problem. Please try to compose a small sample to demonstrate the problem and send it to andreyz*devart*com.

Post Reply