Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow locate
Message
 
 
À
14/09/2001 04:21:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00556350
Message ID:
00556354
Vues:
15
Hi!

You're right, controlling index slow down the process for sure when command is not optimized.
Is SET("OPTIMIZE") = "ON"? Do you have indexes on cusID and po fields in that table? These indexes contain filter for indexing?
If answer is "YES", "YES" and "NO", LOCATE should work quickly and not depended on the controlled index because Rushmour optimization is used.


>My form using :
>
> LOCATE cusId = '123' AND po = '1234'
>
>to locate some records, it is really slow. The table is child table. I suspect the controlled index will influence the search. Because when I try the command in command window. It is very fast.
>
>Can anyone help me to solve the problem.
>
>TIA.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform