** Update customer.dbf with the updated records from oTemp SELECT customer SET ORDER TO TAG cid_cseq SELECT oTemp LOCATE FOR Cust_seq = Customer.Cust_seq SCAN WHILE cust_id = m.cust_id SCATTER MEMVAR MEMO SELECT collat && what is this work area? GATHER MEMVAR MEMO ENDSCANThe above code will locate the first amtching record in oTemp and then process all records that match.