Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading a text file into a table
Message
De
13/03/2002 06:42:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00631956
Message ID:
00631961
Vues:
31
>We load heaps of comma delimited text files into tables, and I'd like to know if there is some way of checking to see if a particular file has already been loaded - as sometimes data files are loaded twice (which is a no-no). Most of the files have generic names, so we really need to check the actual contents of the file before we load it - not just the file name.
>
>If anyone has any ideas - I'm all ears!

If the files are small (< 16MB) you could combine FILETOSTR() and SYS(2007) to keep file signatures.
----------------------------------
António Tavares Lopes
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform