Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Century in a textbox
Message
From
20/07/2005 04:11:17
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01034139
Message ID:
01034144
Views:
20
This message has been marked as a message which has helped to the initial question of the thread.
>Hi
>I have a problem with the century part of the date.
>I have a form with a container in it and a textbox in the container. The textbox has a date variable as a controlsource and displays the four digit century part of the date when without the focus and a two digit century when having the focus. I want it always display only the two digit century.
>In the main prg:
>Set Century to 19 rollover 95
>Set Century Off
>Set Date to German
>
>Textbox.Century=Off
>
>Nowhere in the program the century settings are changed.
>
>Thank you.

SET CENTURY is scoped to the current DataSession, is your form using a private data-session? if so then set the CENTURY setting in your form.Load() event.

Kev
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform