Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get lines from text file
Message
From
30/08/2006 16:16:39
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
30/08/2006 12:17:39
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01149836
Message ID:
01149978
Views:
14
>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).
Previous
Reply
Map
View

Click here to load this message in the networking platform