Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How get the Number of Lines from a text file
Message
 
 
To
11/12/2000 21:41:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00451983
Message ID:
00452062
Views:
31
William,

This will be quite a bit faster if your txtfield is just a single character:
create cursor Dummy (TxtFld C(1))
append from TextFile SDF
nLines = Reccount()
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform