Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Tally VS Reccount() - Yikes!
Message
De
17/07/2003 09:18:04
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00810957
Message ID:
00811042
Vues:
15
Ok, then I' have not to worry about it.

Have nice day

Agnes
>>Hi Ssergey,
>>just to be curious, what is a new index changing RECCOUNT()? Until now I think RECCOUNT gives me all Records no matter if they are filtered or deleted? Which was the wrong result (after INDEX ON?)
>>
>>Or is this only for a pseudo cursor from SELECT SQL? (I learned this problem on my early foxpro days do I never thought about it as a cursor it's more like a filtered alias after USE .. AGAIN ALIAS ..)
>>
>The program was checking the # of records using RECCOUNT() on a cursor. It worked because SQL SELECT that creates this cursor wasn't Rushmore optimizable. The index added to the table made that query optimizable and consequently RECCOUNT() returned the # of records in the table not in the cursor.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform