Ok Thanks Al but setting seconds Off does not force de displayed value in the
textbox and to set the controlsource of a textbox to TTOD(tDateTime) is not allowed because the value for this property may be a variable reference...
Any other idea?
TIA again
-----------------------------------------------------------------------------
>>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).
-----------------------------------------------------------------------------
>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
Ariel Gimenez
our power is our knowledge