Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date format
Message
From
31/01/1999 22:12:44
 
 
To
31/01/1999 18:57:34
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00182334
Message ID:
00182347
Views:
12
>In VFP5 if ...
>SET CENTURY OFF
>SET CENTURY 20 ROLLOVER 60
>and I create a date text box on a form with a value of {}, then enter a date of say 12/12/89, it displays just that. If I enter a date of
>12/12/12 the display changes to 12/12/2012 with the last '12' partly hidden.
>If I use VFP6 it's more consistent, but the full century always shows, despite it being turned off.
>
>What gives? Can I make it work to only accept and display the 2 digits?

What gives is that SET CENTURY is scoped to the datasession... so, you have to make sure to run your SET CENTURY commands in EACH form with a private data session.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform