Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fatal error when LOCATE FOR field = form property
Message
De
08/01/2004 18:00:11
 
 
À
08/01/2004 15:31:41
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00865140
Message ID:
00865266
Vues:
11
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
Fil
Voir

Click here to load this message in the networking platform