MyDAC 4 : IndexFieldName bug

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

MyDAC 4 : IndexFieldName bug

Post by swierzbicki » Tue 02 Aug 2005 09:08

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)

Hans

IndexFieldName Bug

Post by Hans » Tue 02 Aug 2005 09:24

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.

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Tue 02 Aug 2005 09:39

CoreLab gurus will have some code to modify ;).... They will hate us :D (i'm joking)

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Tue 02 Aug 2005 10:39

Fixed. We will try to make this fix available at current week.

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Tue 02 Aug 2005 11:31

:D thank you

Post Reply