Vague error message

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Gigasoft
Posts: 13
Joined: Fri 14 May 2010 06:32

Vague error message

Post by Gigasoft » Mon 25 Oct 2010 05:15

I've just wasted about 20 minutes trying to figure out why I was getting an error from MyDac. It would have taken all of about 2 seconds to fix had the error message been clearer.
TMemDataSet.Locate() gives a 'Field not found' error when the table is not open. A simple check that the table is open before searching would be able to produce a much better error message.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 27 Oct 2010 09:16

Thank you for your inquiry. We have fixed this problem. This fix will be included in the next MyDAC build.

Post Reply