Vague error message
Posted: 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.
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.