Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of records without using
Message
From
23/03/2005 16:11:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00998627
Message ID:
00998636
Views:
46
>Is there a way to determine the number of records in a dbf without
>USE & RECCOUNT
>or doing an fopen() to check the header ?

Not that I can think of. The RECCOUNT() would need to be available as a separate attribute of the file (like the size, datetime, etc.) What are you trying to do?

If you wanted to implement this you'd probably have to set up another table that tracks the RECCOUNT() of other tables, and maintain it appropriately.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform