Yup, it's eluding me for some reason.
2 tables, the first table (tblData) contains 2 fields, txtField1 and Data. The second table (tblMatch) just txtField1.
I want to delete all the records in the first that are matched in the second. txtField1 is the common between the two tables.
my query is:
DELETE tblData.* FROM tblMatch INNER JOIN tblData ON tblMatch.txtField1 = tblData.txtField1
Using Access I can select the data, but I just can't delete it. Why me???
Thanks to all willing to give hints,
m6
2 tables, the first table (tblData) contains 2 fields, txtField1 and Data. The second table (tblMatch) just txtField1.
I want to delete all the records in the first that are matched in the second. txtField1 is the common between the two tables.
my query is:
DELETE tblData.* FROM tblMatch INNER JOIN tblData ON tblMatch.txtField1 = tblData.txtField1
Using Access I can select the data, but I just can't delete it. Why me???
Thanks to all willing to give hints,
m6