Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Year 2000 handling
Message
From
15/01/1999 08:05:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Year 2000 handling
Miscellaneous
Thread ID:
00176400
Message ID:
00176400
Views:
62
I have been given the task of implementing Year 2000 handling into one of our applications and I have been trying to use the method written by Christof Lange in the March 1998 FoxPro Advisor. I have had a couple of problems and am just checking to see if I am doing something wrong so would be grateful if somebody who has used this procedure could either confirm or correct me on the following. The first problem is that the 'resetting' of the handling is done in the Y2K_VALID2 function of his example but I thought that if you pressed escape in a field then the READ is terminated without going through the field VALID. As I don't know how to stop escape terminating the READ I have got round this by also doing the 'resetting' either in the VALID of the READ or immediately after the READ if it doesn't have a VALID. Am I correct? The second problem I had was that the date 29/02/00 (we are using British dates) was not handled unless SET CENTURY is OFF. In our application SET CENTURY is ON to allow them to explicitly enter the century if the require so I changed the Y2K_2 procedure to check for 29/02/00 regardless of the seting of SET CENTURY. Again, is this correct or am I missing something. Just to reiterate I am just looking for some reassurance before I change the approximately 100 programs that need changing.
Next
Reply
Map
View

Click here to load this message in the networking platform