Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append from type sdf not y2k compliant
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00318139
Message ID:
00318148
Views:
25
>It seems that when you use the command APPEND FROM TYPE SDF that VFP6 does not behave like VFP5. All date field that are appended do not use the set century, rollover, information. Example: input date = 12/12/99, what you get in your date field after the append is 12/12/0099. This command work properly in VFP5 and definitely does not work in VFP6.
>
>Is these any work around for this???

The only way I know to workaround this is something like the following
CREATE CURSOR Foo1 (MYDATE C(8))
APPEND FROM SDF.TXT TYPE SDF
lcfile = DBF()
CREATE CURSOR FOO (MYDATE D)
APPEND FROM (lcfile)
George

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

Click here to load this message in the networking platform