Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading data from text files.....???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00232388
Message ID:
00232899
Vues:
20
> 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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform