Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Always better to ...?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00338054
Message ID:
00339103
Views:
27
>>>George and others,
>>>
>>>LOCATE is faster than GO TOP when a filter is invloved because LOCATE is optimizable and GO TOP is not.
>>
>>Thanks Jim (and Fred too). Filters?? Who uses filters any more?< bg >.
>>
>>This does bring up a question, however. How can a LOCATE without an expression be optimizable? If there's no expression to optimize...
>
>George,
>
>A blind LOCATE is the same as LOCATE FOR .T.. The Filter is optimized, as is the deleted condition if the indexes exist.

Ah...(he said, the proverbial light bulb going on above his head). Thanks for the info, Jim. However, as I stated elsewheres in this thread, I'll avoid using it anyway (not that there's much use for it since I don't use filters anyway< g >).
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform