Page 1 of 1

TField.Clear method not working as expected

Posted: Mon 19 Oct 2009 23:07
by kiwisigi
Hi,

Using a tmytable component I was expecting to set a smallint field (unsigned) to NUL when using the field.clear method.

Instead it makes the field 0.

Any suggestion how I can set it to NULL ?

Is this a bug or meant to be like this?

thanks
sigi

Posted: Mon 26 Oct 2009 10:21
by Dimon
I could not reproduce the problem.
Please send me a complete small sample to dmitryg*devart*com to demonstrate it, including a script to create and fill table.

Also supply me the following information:
- the exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor;
- the exact version of your IDE;
- the exact version of MySQL server. You can see it in the Info sheet of TMyConnection Editor.