Mike Yearwood
Toronto, Ontario, Canada
Hi Mike
Thanks for taking a look at this.
<snip>
>LOCATE FOR condition = property should be avoided. Performance issues have been documented in FoxPro Advisor magazine. IMO, it is better to write code without performance problems than to have to deal with them later.
I agree! This was new to me however. Do you by any chance remember the explanation for performance degradation?
>
>I would do this instead...
>
>lnRecID = .nParentRecID
>LOCATE FOR iRecID = m.lnRecID
>
>As a side effect, you won' have the problems you're reporting either. ;)
This was the solution I had implemented. I was just curious if anyone had an explanation for the results I was observing.
Thanks again.
Bruce
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