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:39:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00827925
Message ID:
00827931
Views:
13
>>so, i have a cursor and i want to know how many record i have
>>
>>
>>how can i do
>
>Salut Robert
>
>lnReccnt = RECCOUNT('yourcursor')
>
>HTH
>Mike

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.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform