Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Please help with ROLLOVER...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00321806
Message ID:
00321811
Views:
28
>I'm having a problem with the ROLLOVER setting for the dates in my application.
>
>The birthdates seem to be the only fields that are affected, as those are the only dates that go back to 1949 and beyond.
>
>Where do I have to insert the following line?
>
>SET CENTURY ON ROLLOVER 20
>
>I have it in various places throughout my application, but no matter where I put it, anytime I enter a date prior to 1950 in the form mm/dd/yy, it defaults the century to 20. Are there additional setting I have to use for that particular text box?
>
>I know you can use the regional settings tab (Tools/Options from the FoxPro menu bar) to set the century on or off, but there is no setting for the ROLLOVER value.
>
>I really didn't want to use the Windows default system settings for this, but I may have to resort to that.
>
>Can anyone shed a bit of light on this for me?
>
>Thanks!

Kile -- try this:

SET CENTURY ON
SET CENTURY TO 19 ROLLOVER 20

Bill
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform