Subject Re: [IBO] How to put NULL to a field?
Author Raymond Kennington
"pepmallorca " wrote:
>
> Hello:
>
> Here is a simple question:
>
> I have a numeric field and I want to give it the NULL value.
>
> For example, I write:
>
> IB_QryXXX.FieldByName('FIELD').AsInteger:=null;

Use TFields.

IB_QryXXXFIELD.Value := NULL;

>
> But the error is:
>
> Invalid variant type conversion
>
> Thank you,

--
Raymond Kennington
Programming Solutions
W2W Team B