Set a field to null

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
calou
Posts: 116
Joined: Tue 27 May 2008 12:46

Set a field to null

Post by calou » Mon 28 Mar 2011 13:52

Hello,

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

Thanks for help

AndreyZ

Post by AndreyZ » Mon 28 Mar 2011 14:07

Hello,

You can use the following code:

Code: Select all

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

calou
Posts: 116
Joined: Tue 27 May 2008 12:46

Post by calou » Mon 28 Mar 2011 14:30

Thanks

AndreyZ

Post by AndreyZ » Mon 28 Mar 2011 14:39

Feel free to contact us if you have any further questions about IBDAC.

Post Reply