Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display date
Message
From
20/02/2001 09:31:33
Fausto Garcia
Independent Developer
Lima, Peru
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00477454
Message ID:
00477599
Views:
21
Hi,

Taking Al's idea, what if you try using the "value" property instead of the "controlsource" property? You could place code to set up this property's value in the "init" event of your form.

HTH,

>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
Solo se que nada se

Fausto J. Garcia Pino - MCSD.NET
.NET, Oracle, Tronador & Fondismo!
Previous
Reply
Map
View

Click here to load this message in the networking platform