Page 1 of 1

Set a field to null

Posted: Mon 28 Mar 2011 13:52
by calou
Hello,

How can i do to set a field to the null value?
For example :
IBCQryWrt.ParamByName('UTILISATEUR').SetToNull?

Thanks for help

Posted: Mon 28 Mar 2011 14:07
by AndreyZ
Hello,

You can use the following code:

Code: Select all

IBCQryWrt.ParamByName('UTILISATEUR').Value := Null;

Posted: Mon 28 Mar 2011 14:30
by calou
Thanks

Posted: Mon 28 Mar 2011 14:39
by AndreyZ
Feel free to contact us if you have any further questions about IBDAC.