>>And my excuse is: Bad habit. Thanks for pointing out the better function!
>>
>
>I know how difficult is to say NO to old habits (especially bad ones) :-)
>I still put GO TOP before SCAN :-)
I always use the GO TOP. If the table is on a second scan and you are not using a FOR clause, it will not scan the table.
SCAN
<DO SOMETHING 1>
ENDSCAN
<MORE CODE>
SELECT csrTable
SCAN
<DO SOMETHING 2>
ENDSCAN
Without a GO TOP, the
DO SOMETHING 2 would never happen!
Carsten M. Thode