Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Importing a csv file programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00179381
Message ID:
00179432
Views:
17
Donald,

Isn't APPEND FROM ... DELIMITED BY .... what you want ?

Regardless of what you use, however, you WILL need to have some idea
of how many fields your table needs to have, their type, and their
capacity (length). This you will get either from the people sending
you the file, or from looking at the file with an editor and working
out from that what the layout of your file should be.

Michel Creppy.

===============================================================

>I know that I've just got a brain cramp, but maybe one of you could help. I want to get a comma seperated file in a table. I don't know the lengths of the fields coming in so I can't predefine a table to put them into. I know that the Import wizard in VFP6 does this, but I'll be darned if I can figure out how.
>
>So, is there an answer out there, or at the very least can I look at the code for the import wizard to figure out how to do it?
>
>Thank you in advance.
>
>DJ Hunt :o)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform