Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suggestions to extract from large .txt file?
Message
De
15/09/2017 12:11:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01654358
Message ID:
01654364
Vues:
53
>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?

Append from would ignore memo fields.

There are multiple solutions to the problem.

-Read using Microsoft ACE engine using OLE and cursor adapter.
-Append to another database like postgreSQL that wouldn't have such problems and get from there.
-Process the file low level line by line (probably the solution that many VFPers would choose).
-Request to the source to supply a better format instead :)
...
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform