I have a cursor as below.
And now I want to add these records into my _table1. Both tables have same records but, in Missing cursor there have some additional records. So I need to add those into _table1 without duplicating. How can I do this?
Thank you
Code:
Use In Select('Missing')
SELECT _DelDtl
SCAN
TEXT TO stra NOSHOW
SELECT * FROM vMER_Master_LotColors WHERE nStylecode=?_DelDtl.nStylecode and clotname=?_DelDtl.cLotName
ENDTEXT
SQLExec(hndOps,stra,'_TempMissing')
If Not Used('Missing')
Select * From _TempMissing Into Cursor Missing Readwrite
Else
Select Missing
Append From Dbf('_TempMissing')
Endif
ENDSCAN
And now I want to add these records into my _table1. Both tables have same records but, in Missing cursor there have some additional records. So I need to add those into _table1 without duplicating. How can I do this?
Thank you