Page 1 of 1

Firebird set field to Null

Posted: 20.11.2008, 20:07
by slai
hy everybody

i've got a problem with setting a Date field to Null.
How can i do that with.

Code: Select all

ZTable.Edit;
ZTable.FieldByName('DateField').As....... := Null?
ZTable.CommitUpdates;
I don't want to exec a query!

Thanks for replys

Posted: 22.11.2008, 13:03
by slai
ZTable.FieldByName('DateField').clear;