Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Leap Year 2000 FPW2.6
Message
From
08/10/1998 10:37:30
 
 
To
08/10/1998 07:25:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144937
Message ID:
00145019
Views:
36
Hi Missy,

Looks like you got some good answers from other people here before I logged in and saw your message, but let me add what I can.

In general, all you have to do to handle Y2K in FPW2.6 or FPD2.6 is 1) SET CENTURY ON, 2) expand all date fields to a width of 10 characters (in screens and on reports), and 3) stick a UDF call in the VALID() of all your date GET's to return date + 100 years if the date the user entered is less than some rollover date of your choosing. This is simplistic and doesn't handle an entry of "2/29/00" (as opposed to "2/29/2000" which is OK). Christof Lange's elegant solution is much more complete and handles 2/29/00 as well. And George is correct, Fox knows that the year 2000 is a leap year, as he demonstrated.

Josh mentioned Y2KFox: I don't have any personal experience with it but like the others I have heard only good things about it, except maybe for the price as Christof mentioned. They don't publish the price on their web site, you have to call them to get it, I guess.

HTH,
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform