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
Antonio Carlos Kleinübing
Systems Analyst