Subject Re: [IBO] How to set a field to NULL
Author Thomas Steinmaurer
> What is the recommended way to set a Parameter for a writing operation
> (INSERT, UPDATE) to NULL:
>
> (1) TIb_Cursor1.ParamByName ('TP_ID').AsVariant := NULL
> (2) TIb_Cursor1.ParamByName ('TP_ID').IsNull := TRUE;
> (3) another one?

TIb_Cursor1.ParamByName ('TP_ID').Clear



--
Best Regards,
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and
NexusDB V2
Upscene Productions
http://www.upscene.com