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:
00322224
Views:
30
>>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

Thanks Bill, For some reason I had tried the folowing:

SET CENTURY TO 20 ROLLOVER 20

and needless to say, I was not getting the results I was looking for. I should have been able to figure out from the results that I needed to be setting the century to 19.... Thanks for clarifying!
Previous
Reply
Map
View

Click here to load this message in the networking platform