I have two Access 2 db’s, with identical tables in them; I need to delete matching (duplicate) records in both db's
I am using VB6 (SP4) and ADO / ADOX 2.5, I have tried joining (linking) the tables and then looping through the records, but this causes a problem when the records have null values is some fields.
i.e.
DELETE DISTINCTROW tbl1.*, lnk1.* FROM tbl1, lnk1 WHERE
(lnk1.field1 = tbl1.field1 AND lnk1.field2 = tbl1.field2 )
Any tips / ideas would be gratefully received
Thanks.
[sig][/sig]
I am using VB6 (SP4) and ADO / ADOX 2.5, I have tried joining (linking) the tables and then looping through the records, but this causes a problem when the records have null values is some fields.
i.e.
DELETE DISTINCTROW tbl1.*, lnk1.* FROM tbl1, lnk1 WHERE
(lnk1.field1 = tbl1.field1 AND lnk1.field2 = tbl1.field2 )
Any tips / ideas would be gratefully received
Thanks.
[sig][/sig]