Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing a csv file programmatically
Message
De
23/01/1999 12:27:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00179381
Message ID:
00179404
Vues:
35
>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)

The source code for all VFP 6 wizards and builders comes with VFP. Go to

look in C:\Program Files\Microsoft Visual Studio\Vfp98\Tools\XSource\xsource.zip

If you unzip this file into its current directory, it creates a folder called vfpsource, and that folder contains a bunch of sub folders with all the source you would ever want to know about.

the import wizard is found in.

C:\Program Files\Microsoft Visual Studio\Vfp98\Tools\XSource\vfpsource\wizards\Wzimport

the entire project used for the app is there. Good luck.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform