Subject | Problem with Timestamp field |
---|---|
Author | Stevio |
Post date | 2001-08-08T15:25:49Z |
I have the following line declared in my Firebird database metadata:
DATE_ENTERED TIMESTAMP NOT NULL,
However, this is causing a problem with my code - it is refusing to post a
new record because it says this field is null. It's not however, in my code
the following line sets the value:
dstBookDATE_ENTERED.Value := DateEntered;
DateEntered is a variable of type TDateTime.
So where is the problem?
Thanks,
Stephen
DATE_ENTERED TIMESTAMP NOT NULL,
However, this is causing a problem with my code - it is refusing to post a
new record because it says this field is null. It's not however, in my code
the following line sets the value:
dstBookDATE_ENTERED.Value := DateEntered;
DateEntered is a variable of type TDateTime.
So where is the problem?
Thanks,
Stephen