Subject | Re: [IBO] blank edit mask for date fields |
---|---|
Author | Geoff Worboys (TeamIBO) |
Post date | 2002-02-16T08:54:04Z |
> Currently I just handle a 'zero' date or 'zero' time when INot exactly, although related.
> have to, and use something else to indicate not set when a
> NULL entry could be useful.
> Is this the area we are talking?
1. All date-only and time-only fields enforce editmasks, you cant seem
to turn them off.
2. Editmasks can causes problems in the VCL TDBEdit control
because TDateTimeField.SetAsString does not check for an empty mask,
but instead tries to translates ' / / ' into a date.
I dont think the first one is much of a problem, or certainly not
urgent. That issue only became apparent because of the second
problem (for which one work around may have been to disable the
editmask).
--
Geoff Worboys - TeamIBO
Telesis Computing