Page 1 of 1

List Index Out Of Bounds (2) with myDAC 4.30.11.15 (during Design time) with Master Details Query and Persistent fields

Posted: Wed 14 Jun 2006 15:34
by swierzbicki
Hi,

Here is a scenario to reproduce this bug :

Add a TmyQuery , name it master.
Fill the SQL property.
Add a Datasource and link it to the master query.
Left Click on the master Query , select field editor and retreive all fields (CTRL L)

Add a TmyQuery, name it Details
Fill the SQL property.
Add a Datasource and link it to the details query.
Left Click on the details Query , select field editor and retreive all fields (CTRL L)
Fill the MasterSource property
Fill the Master / Design key

That will works fine.

Now modify the SQL statement from the Details Query. Just add a new field. Validate the changes.
Left Click on the details Query , select field editor and retreive all fields (CTRL L) => You will get the List Out Of Bound (2)

The solution to "bypass" this is to clear the Master/Detail key and then add the new persistent field...

Can anybody else test this ?
Thanks...

B.R.

Stephane Wierzbicki

Ps : BDS 2006 + Update 2 + Hotfixes 1 to 6

Posted: Thu 15 Jun 2006 13:23
by Antaeus

Posted: Thu 15 Jun 2006 14:53
by swierzbicki
Yes this looks so... thank you