I'm having an situation since the upgrade of our MySQL server.
We have upgraded from v4.1.21 to v5.0.27
I have a table with a 'VarcharField ' (varchar).
When VarcharField field is Null the code bellow is working :
Code: Select all
if not(MyQuery.FieldByname('VarcharField').Isnull) then
If MyQuery.FieldByname('VarcharField').AsString '' then dosomething else exit ;
....Code: Select all
if not(MyQuery.FieldByname('VarcharField').Isnull) then
If MyQuery.FieldByname('VarcharField').AsString '' then dosomething else exit ;
....Thank you for your support