Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow
Message
From
07/07/2008 08:49:29
 
 
To
07/07/2008 08:13:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Slow
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01329335
Message ID:
01329375
Views:
14
>>>_tally is the ONLY correct way since reccount() may report the total number of records in the table if VFP decides to simply add a filter.
>>
>>Not totally sure if the order-clause does not imply an automatic nofilter and was too lazy to test <g>
>
>I always use _tally, since it's always safe.

Yupp, but the original code counted the records - first priority in perf opt is to keep behaviour identical.
It is highly probable that _tally is the intended behaviour so I switched reccount() into comment, as the OP is not too firm on vfp finer points and not too get hooked up on irrelevant points.
Previous
Reply
Map
View

Click here to load this message in the networking platform