|Subject||Re: only time in a TDBGrid|
>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
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.