Page 1 of 1

MyDAC 4 : IndexFieldName bug

Posted: Tue 02 Aug 2005 09:08
by swierzbicki
At design time, when table/query is closed and when assigning a value to the IndexFieldName property (after the mydac login prompt) I get this exeception :

EDatabaseError
exception message : QRDevis: couldn't perform this task on an closed dataset.

If I open the table/query I can assign a value to the IndexFieldName property BUT when compiling and lauching the project I get this exception again (normal behaviour as my connection to mysql should be closed)

IndexFieldName Bug

Posted: Tue 02 Aug 2005 09:24
by Hans
I had a similar problem after I upgraded from 3.55 to 4. (D7)

When I opened my project, i had one table open (TMyTable), I had the same error and delphi could not open without ignoring. After ignoring and rebuild it seemed to work, but i came across an error that wasn't there in 3.55.

Both in design-time as in runtime filtering using AddWhere (runtime) or MyTableEditor (designtime) the FinalSQL has the order statement prior to the where clausule, resulting in an error.

Posted: Tue 02 Aug 2005 09:39
by swierzbicki
CoreLab gurus will have some code to modify ;).... They will hate us :D (i'm joking)

Posted: Tue 02 Aug 2005 10:39
by Ikar
Fixed. We will try to make this fix available at current week.

Posted: Tue 02 Aug 2005 11:31
by swierzbicki
:D thank you