>In looking at code at my new job, I came across the following construct.....
>
>SEEK avalue
>SCAN REST FOR thistable.fieldvalue = avalue
>
>dahdahdah....
>
>ENDSCAN
>
>Question....
>
>Will the SCAN begin where the REST starts... or will it start over at the beginning of the table because of the FOR?? (A speed concern here.....)....
>
>Thanks
>
>Tommy
for should put the pointer back at the top. Try while instead.
scan rest while thistable.fieldvalue = avalue
As for speed I haven't tested that.
Einar
Semper ubi sub ubi.