>Here is a weird one for you.
>
>I "APPEND FROM" a text file with the "SDF" type. The text file has dates in the "short year" format (i.e. 04/18/05). When the program executes from my computer (which has the full VFP9 installed), the dates are appended correctly. But when the program runs from another computer, using only the runtime files, the date comes in as "04/18/1905". I have SET CENTURY ON in the program.
>
>Keep in mind that in VFP7 I didn't have this problem.
Jim,
The source of the problem is the format of the text file. VFP stores dates as YYYYMMDD. The easiest way to do this is to parse the file and convert the MM/DD/YY format to this.
You might want to look at the series of article that the late Ed Rauh and I wrote on the Windows Script Host. In particular, look at the last article in the series about the Regular Expression parser.
George
Ubi caritas et amor, deus ibi est