Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Low level file functions to get the number of lines
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00041205
Message ID:
00041236
Vues:
37
>>>If you know the length of the record (which you should) take the size of the incoming file and divide it by the record length. This will give you # of records.
>>
>>All lines have a different length. :(
>
>you could transfer the file to a memo and count the line feeds using OCCURS() and the right CHR() combination.

This is another possibility but I like Winfried's solution because it involves only one line.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform