Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know the number of records in a cursor
Message
 
 
À
10/09/2003 13:51:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00827925
Message ID:
00827942
Vues:
14
>>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform