>Hi everyone
>
>I've been using the 'SCAN FOR' command and the 'LOCATE FOR' command in some of my applications. In terms of speed - does anyone know which is supposed to be faster? They appear to work about the same speed to me...
>
>Regards
>
>Chris Kable
>FuelTrac
Both commands are Rushmore optimizable so time could be really the same. The difference is in result. LOCATE goes to particular record and SCAN goes through each record. If you compare LOCATE+CONTINUE against SCAN then probably SCAN would be faster, but difference is probably negligible.
Edward Pikman
Independent Consultant