The record pointer will be on the deleted record after DELETE in this case.
>Is this code correct? Before deleting a record from fileA I would like to insert one record into fileB where some fields are based on record that is being deleted on fileA. What will happen with record pointer of fileA when the record is deleted?
>
>select fileA
>SCAN FOR ......
> IF ....
> insert into fileB ....
> ENDIF
> delete in fileA
>ENDSCAN
--sb--