Board index » delphi » DisplayFormat and TDateTimeField problem

DisplayFormat and TDateTimeField problem

I trying to show only the date part of the datetime string in a DBGrid.
So I use the field editor to set the displatFormat - but with no
success...

J?rgen Aase

 

Re:DisplayFormat and TDateTimeField problem


Gjermund Omholt <g...@oslo.mail.telia.com> wrote in article
<3454EE9B.6...@oslo.mail.telia.com>...

Quote
> I trying to show only the date part of the datetime string in a DBGrid.
> So I use the field editor to set the displatFormat - but with no
> success...
>-

If you have defined a field as DATE, then the data in that field will
display in a DBGrid in Date format.

Perhaps I don't understand your problem - could you be more specific.

Regards,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laurie Bisman    lbis...@ihug.co.nz (ICQ 1458799)
Web page          http://homepages.ihug.co.nz/~lbisman/index.html
Company           http://www.addlink.ac.nz/Home.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Other Threads