>Hi
>
>Anybody knows how to display a datetime value in one textbox as date?...
>This is due i have one table with one datetime field, and using the controlsource whith in it, it displays the seconds, but i dont want to display the seconds in it, so if you can helpme with this ill be very happy...
>I try in various manners without succes:
>Format
>ImputMask
>Putting code in various methods
>
>TIA
If you SET SECONDS OFF the seconds portion of a DateTime will not display.
If you want to display just the date portion, set the controlsource to be TTOD(tDateTime).
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up