Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record count in txt file
Message
 
À
05/06/2003 15:55:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00796917
Message ID:
00796918
Vues:
11
?alines(atmp,filetostr("filename")) or
?occur(chr(13),filetostr("filename")) &&here youi may miss the very last record if it does not have chr(13) at the end

>Hey Everyone,
>I am trying to get a record count of a txt file without any luck. Does anyone know how to do this? I think I have to use the FGETS() function and count the carriage returns but am not sure how to do this. Any help would be appreciate. Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform