> SELECT * FROM apInvMast WHERE apInvMast.invPK = invPKSave INTO CURSOR "c:\curInvMastEdit" nofilter >>I get a syntax error on "c:\curInvMastEdit". Will not let me specify the drive. It might have something to do with sortWork, but I can not see how it would work in conjunction with sql
SELECT * FROM apInvMast WHERE apInvMast.invPK = invPKSave INTO CURSOR curInvMastEdit nofilter
Select yourothertable
append from dbf('curInvMastEdit')
Select 0
..Do something..
Replace field1 with newvalue in curInvMastEdit
..Do some more..
Select curInvMastEdit && To make curInvMastEdit the active work area
..DO more stuff