Information générale
Catégorie:
Codage, syntaxe et commandes
>>>Hello Tamar,
>>>
>>>what are you using as replacement?
>>>
>>
>>In my case, I was using it pretty much always after a query, so just replaced with RECCOUNT().
>
>I got to the practice of storing _tally into a variable or property immediately after the statement which did what I need to _tally for. Few lines later it may be wrong, for whichever reason - and timers aren't the only thing. It may be a slightly complicated SKIPFOR expression, or a grid refresh or who knows what code. Also, I've noticed that in VFP9 _tally behaves differently in some situations than it behaved in all previous versions. Can't remember what it was - it's been a dozen years - but there WAS something which made me rely on it less and less.
But a timer could fire even between the statement that sets _TALLY and the one that stores it. That was an issue in the application I was working on where the timer fired often.
Tamar
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement