Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND FROM
Message
From
11/12/1998 11:31:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00166585
Message ID:
00166609
Views:
15
>Keeping the Strict Date settings in VFP6 in mind. I need to import a date from a text file into a date field (not datetime) with the Append From command. Is there a way to accomplish this without changing the data type of the field I am importing into?
Bill,
I don't think VFP6 has changed so much with append from (VFP5 here). Normally with a SDF textfile, Fox expect the dates be as YYYYMMDD. If not then you should manipulate it, ie: change the field to char type, append, add another column as date, do conversion, drop char column.
19900101Text1
19981231Text2
19983112Text3
Expected to be appended as :
Jan 1, 1990
Dec 31, 1998
-Empty-

Whatever the date settings are.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform