Subject | Re: [IBO] How to set a field to NULL |
---|---|
Author | Thomas Steinmaurer |
Post date | 2007-01-20T18:57:38Z |
> What is the recommended way to set a Parameter for a writing operationTIb_Cursor1.ParamByName ('TP_ID').Clear
> (INSERT, UPDATE) to NULL:
>
> (1) TIb_Cursor1.ParamByName ('TP_ID').AsVariant := NULL
> (2) TIb_Cursor1.ParamByName ('TP_ID').IsNull := TRUE;
> (3) another one?
--
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