powerprinting
MIS
SELE 1
USE File1 ALIAS firstfile
SELE 2
USE File2 ALIA secondfile
INDEX ON MATCHCODE TAG match
SET ORDER TO MATCHCODE
SELE 1
SET RELATION TO MATCHCODE INTO B
REPLACE ALL A.MYFIELD1 WITH B.MYFIELD2 for A.MATCHCODE= B.MATCHCODE
**** Should't this statement update all file1 FIELDS from file2 and not just one record as seems to be happening?
USE File1 ALIAS firstfile
SELE 2
USE File2 ALIA secondfile
INDEX ON MATCHCODE TAG match
SET ORDER TO MATCHCODE
SELE 1
SET RELATION TO MATCHCODE INTO B
REPLACE ALL A.MYFIELD1 WITH B.MYFIELD2 for A.MATCHCODE= B.MATCHCODE
**** Should't this statement update all file1 FIELDS from file2 and not just one record as seems to be happening?