Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loading data from text files.....???
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00232388
Message ID:
00232899
Views:
19
> lcFileContent=FILETOSTR(lcFileName)
> *remove garbage at start and end
> x4=AT( lcFirstRecord ,lcFileContent )+2
< snip >

Aagh...that seems like a lot of code compared to APPEND FROM :)
Anyway, I guess Chris solved it with John'n method...but I just was curious: have you tried your technique on a typical large import file, of say 50 MB or so? I suspect FILETOSTRING will not always handle that, it being constrained by available memory...and even with loads of memory available, it may choke on performance...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform