Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET CENTURY stuff
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00206098
Message ID:
00206642
Views:
29
>SET CENTURY OFF
>SET CENTURY TO 19 ROLLOVER 5
>Century property set to 2 - Default
>
>this is what happens. If I enter 99/02/01 and I Tab back to the field, I see 99/02/01. If I enter 00/02/01 and Tab back to the field, I see 2000/02/01. So the system forces a 4 digit year for dates >= {2000/01/01}.
>
>Do you see something different?
>
Joe,

You are right, that is exactly how VFP5 works. VFP6 has added a century property to teh textbox that can be used to control this behavior. If you don't use that property then 6 behaves just like 5 however 6 can use the enw property to change the behavior.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform