>>Could someone please tell me the difficulties in converting a FoxPro 2.6 for DOS version so that it's Y2K compatible? What code has to be included? Etc.
>>
>>Thanks
>Hi,
>I'm not sure I completely understand this one. DOS version (all versions from foxbase) is also Y2K compatible. All FP tables store the date as YYYYMMDD internally. All you need is to set century on and use 4 digit for year.
>Cetin
Cetin,
It really depends on how you define the Y2K compliance issue. It's a lot more than just date mathematics.
The US Government published a definition of Y2K compliance. I do not have it handy but it discusses issues from date mathematics to understanding 2 digit year entries into the right century, date display and more.
In a Fox 2.6 app, there is no question that SET CENTURY ON can take care of a great deal of the problems. But, understanding 2 digit year entry wasn't really properly supported until SET CENTURY TO
ROLLOVER.
For more information on Y2K issues, there is a whole YAHOO section devoted to it with some FAQs. Check out http://www.yahoo.com/Computers_and_Internet/Year_2000_Problem/FAQs/