Subject | Re: only time in a TDBGrid |
---|---|
Author | duilio_fos |
Post date | 2002-08-27T08:06:02Z |
>I'm not sure you could have an input field ...exactly that. Using DisplayFormat, I can display data as hh:mm.
However, when I try to edit data, I get an error message, saying that
data is no TDateTime data.
As a quick-and-dirt solution, I have added 2 char(5) fields to the
table.
I have the char fields displayed and edited in the grid, while I hide
the timestamp fields.
In a BeforePost event I traslate input data into TDateTime and store
it into the timestamp fields.
No smart solution, but I am in a hurry.
Thank you
Duilio