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.