Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table with more than 255 fields.
Message
De
29/03/2007 12:01:32
 
 
À
29/03/2007 11:56:48
Rebecca Stottlemire
Kansas State Department of Commerce
Topeka, Kansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01209840
Message ID:
01209844
Vues:
15
>I'm in a situation where I have users giving me tab-delimited text files to be imported into a table, from which I'll do reports. However, the format that they send has more than 255 fields.
>
>I've been trying to figure out a way to open the text file and split off some of the information into one file, then put the rest in another. I can open them with the FOPEN(), but I haven't had any luck counting tabs to get to where I want to split it.
>
>Has anyone had to do this type of thing before?
>
>Thanks,
>Rebecca

You could open it either by FOPEN() or as FILETOSTR() and then check for CHR(9), i.e. Tab.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform