Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suggestions to extract from large .txt file?
Message
 
 
To
15/09/2017 11:44:36
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01654358
Message ID:
01654360
Views:
57
>>Hi,
>>
>>Since APPEND FROM does not work with MEMO field, I need to extract data from several .TXT files using an alternative approach. I thought of parsing the file with VFP code, loading the file into a string with FILETOSTR(). But the string is too long (the .txt file is about 6 MB).
>>I would appreciate any suggestions?
>
>Dmitry, I would say that 6MB is a piece of cake for VFP.
>
>Do your .TXT files have a first-line header?

Yes, the .TXT file top line identifies the columns in the .TXT file. Are you saying that FILETOSTR() should load the entire file?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform