S
sweetlisa1217 via AccessMonster.com
How do I delete records in a table with multiple joins?
I have 2 tables..... Table A contains the identified records to be deleted.
Table B contains all records
I only want to delete the records from Table B, where TableA.Field 1 = TableB.
Field 1 AND TableA.Field 2 = TableB.Field 2. I'm not having any luck using
Inner Joins, I get the message "Could Not Delete From Specified Tables"
DELETE TableB.*
FROM TableB
INNER JOIN TableA ON ((TableB.Field1 = TableA.Field1) AND (TableB.Field2 =
TableA.Field2))
I have 2 tables..... Table A contains the identified records to be deleted.
Table B contains all records
I only want to delete the records from Table B, where TableA.Field 1 = TableB.
Field 1 AND TableA.Field 2 = TableB.Field 2. I'm not having any luck using
Inner Joins, I get the message "Could Not Delete From Specified Tables"
DELETE TableB.*
FROM TableB
INNER JOIN TableA ON ((TableB.Field1 = TableA.Field1) AND (TableB.Field2 =
TableA.Field2))