Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get lines from text file
Message
De
30/08/2006 16:16:39
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
30/08/2006 12:17:39
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
01149836
Message ID:
01149978
Vues:
12
>Hi all,
>I have a text file. I want to read it line by line.
>What is the best way to do this?
>Thanks

Hi Reza

I believe the fastest thing is to create a temporary table with field names and data types that match the system you're importing into.

Append from the text file into the temporary table. Fix anything that's not quite right.

Scan the temp table and insert/update data in the the real table(s).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform