Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_tally not at home, sometimes
Message
 
 
To
14/08/1998 14:59:51
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00126995
Message ID:
00127016
Views:
33
Dragan,

I think you should just save the _tally result after the command that creates the result set before you index the result.

>
>Well, it was true back in FPD2.6. Now indexing affects _tally only if you SET TALK ON, which is ridiculous - this is one situation where I absolutely don't need any progress indicator or any extraneous scribbling over my form. Gee, why did they have to fix it - it was never broken.
>
>I've used "if recc()#0" instead and it works, but sometimes it won't do the trick - what if I wanted to have a filtered index or anything else of the kind, where number of available records is less than recc(). I'd have to Count - its results go to _tally regardless of Set Talk, but still it's an excess step which just induces unnecessary overhead.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform