Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Paradox v4.0 & 3.5 Y2k Timebombs 2

Status
Not open for further replies.

Alt255

Programmer
May 14, 1999
1,846
US
My current assignment includes the inspection and correction of nearly 500,000 lines of Paradox script. The previous programmer must have assumed that 1999 was the end of time (he did most of his date math based on that assumption). I've been searching the network for strings, such as, "-1900", "99" and so forth and have already corrected dozens of "company killers". Is there an easiler way? Is there a commercial product that can identify funky date math and non-compliant date string concatenations in SC, BAS and PAS files?<br>
<br>

 
There are a number of things available. However, these assume a consistent name for all dates that are in the program. And, name, format, and type must be consistent.<br>
<br>
I have never been in a work environment where all of the above were met. Even when I have been able to use a tool of some sort, I had to do a lot of 'prowling' through the code.
 
Thanks. I wrote an app in Visual Basic that tears apart the tables, checks the links in reports and forms and scans the scripts for funky date conversions (strval(year()-1900), etc.). It seems to work pretty well.<br>
Probably more work than it was worth, since we're thinking about ways to scrap Paradox.<br>
But until 03/01/00.... :-0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top