Subject | Re: [IBO] datetime as NULL |
---|---|
Author | Helmut Steinberger |
Post date | 2000-12-14T10:08:04Z |
>But if you don't store anything, wouldn't this be considered as NULL?Yes, thats true, but if I have allready stored a value in the field
>If you have Table (ID,DATETIME), then
> Insert();
> FieldByName("ID")->AsInteger=2;
> Post();
and want to change it to NULL.
like:
Insert();
FieldByName("ID")->AsInteger=2;
FieldByName("DATETIME").Asdatetime= any valid date;
Post();
and then
update();
FieldByName("DATETIME").Asdatetime= should be NULL;
Post();
cu
Helmut