Hi Gregory,
with a big table and the correct index, the difference can be enormous. GO TOP can take minutes, LOCATE takes a few microseconds.
>>>>Hi
>>>>
>>>>Is there any way to tell if a filter results in 0 records?
>>>>
>>>>Thanks
>>>>
>>>>Colin
>>>
>>>Something like
>>>
>>>
>>>go top in AliasName
>>>
>>>ZeroRecords = eof('AliasName')
>>>
>>
>>I think 'locate' would be better as it's Rushmore optimizable.
>>Cetin
>
>Yeah, perhaps. I've never done any test, so I don't know how much of a difference there's involved