>>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.