>I have tried using 'Skip' to move the record pointer but I get an "End of File" error. I assumed this was because there are no records due to the previous 'SET FILTER TO ...' command. Is this assumption correct?
>
>Doesn't 'LOCATE' just move the record pointer to the first occurance of a specific item? I wan't to be able to view all records that contain that specific item.
>
>Thanks for your help,
>Russell
When you issue a SET FILTER TO < some value > and there are no values, you are at EOF. When you issue a SET FILTER TO, you are still at EOF and trying to skip again throws an error.
Issuing LOCATE without any other information is like issuing a LOCATE FOR .T.. The result is you go to the first record in the table or in your case, the first record adhering to the filter. The point being issuing a LOCATE always "moves" the record pointer so any new filter will take effect.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao