Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Y2KFox in production
Message
 
To
16/10/1998 10:17:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00145263
Message ID:
00147494
Views:
45
Hi Pamela,

>But the article raises a question.
>
>If I have a date field where I have SET CENTURY ON and have the user entering a 4-digit year, does Y2KFox re-interpret that year? In other words, if the user has typed in 1910 and I have my rollover set to 15, will it change that year to 2010?

Nope, Y2KFOX doesn't touch 4-digit years, only 2-digit years. The reviewer actually used a rather strange combination of three GETs that span a length of over 100 years. In that case a rollover feature can't work, it handles of course only 100 years. What it does is to let you move this range. In the case the reviewer presented, three lines would have saved him all troubles. In the WHEN snippet of each date value you can change the rollover value, and for example set it to 99 for birthdates or to 15 for other dates.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform