Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IMPORT command
Message
From
03/11/2000 14:05:59
 
 
To
03/11/2000 13:57:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00437709
Message ID:
00437786
Views:
21
>>>Is it possible, through code and not by using the wizard, to import a text file (TAB separated) into VFP using the IMPORT command and thus, creating a table?
>>>
>>
>>If you know the structure you'll be receiving in the delimited file,
>>
>>CREATE TABLE mytable (field1 c(10), field2, n(5,2), etc....)
>>APPEND FROM mytextfile.txt TYPE DELIMITED
>
>So, just for personnal knowledge, there is no way to do this task using the command IMPORT?
>
>Stephane.

Not from a text file.

Also, since it would be tab separated my suggestion should have been
APPEND FROM mytextfile.txt TYPE DELIMITED WITH TAB
w/o the WITH TAB, it assumes comma delimited.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform