Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Low level file functions to get the number of lines
Message
 
To
22/07/1997 18:40:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00041205
Message ID:
00041257
Views:
42
>>>>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.

He Mike you can use caractere for updating the thermometer but you don't have to update it each time you read a line.
You can wait (for 5% of increasing) before updating it. this will look like more regular for the client...

Hope this help...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform