Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND FROM not Y2K ok.... know a fix?
Message
 
To
19/07/1999 02:17:48
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00241414
Message ID:
00243028
Views:
26
>I faced the same problem in VFP6.
>(When I used append from on an SDF file with a date in it... even if all 4 digits of the year are in the file FoxPro imports it to a date field using the first two characters of the year.)
>
If the format of the character string is YYYYMMDD, then VFP can accurately append dates from the SDF file. I believe that this is because this format matches that which VFP uses to store the date information in the table. Other formats cause this sort of problem. The workaround I presented earlier in this thread is, I believe, the most flexible since it can be modified to handle any particular date format by passing parameters to the routine.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform