Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know the number of records in a cursor
Message
 
 
To
10/09/2003 13:51:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00827925
Message ID:
00827942
Views:
15
>>It may return incorrect result if cursor is a filtered table. You can either use system _TALLY variable right after select that creates the cursor or COUNT command on the cursor itself.
>
>Hi Sergey,
>
>I was unaware of these conditions. My cursors are always just run of the mill cursors.
>
>Thanks for the heads up.
>Mike

If you are always using NOFILTER or READWRITE options in your SELECT commands than you are safe. Otherwise, if SELECT conditions are Rushmore optimizable, VFP can just open the source table with USE ... AGAIN ALIAS ... and SET FILTER on it.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform