Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date format
Message
From
31/01/1999 23:01:03
 
 
To
31/01/1999 22:12:44
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00182334
Message ID:
00182354
Views:
17
>>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

I have 'set century off' in my base class load event for private datasessions. I wish it was that easy but that's not the problem. See Jim's reply.
But thanks anyway Bob :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform