Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow locate
Message
From
14/09/2001 04:45:33
 
 
To
14/09/2001 04:21:55
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00556350
Message ID:
00556354
Views:
16
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform