>Hello Foxperts,
>
>Is the following code 'proper'?
>REPLACE reprints WITH reprints+1 FOR flagged="P"
>REPLACE flagged WITH "O" FOR flagged="P"
>or should I do this:
>SCAN FOR flagged="P"
> REPLACE reprints WITH reprints+1, flagged WITH "O"
>ENDSCAN
>
>Any comment and critique gratefully accepted.
As you've already been told, both will work. However, the SCAN version only works if you don't have ORDER set to the flagged field.
Tamar