I cannot believe I'm having this much trouble doing such a simple
thing!
I have two tables with identical structure. I can use an A2K select
query to show the records in table 1 that match those in table two
based on an inner join between two unindexed fields.
Here's the SQL code for the select query that DOES work:
SELECT tblEmailLetters_TEMP.*
FROM AAA_Temp_EmailImport INNER JOIN tblEmailLetters_TEMP ON
(AAA_Temp_EmailImport.MsgGroup = tblEmailLetters_TEMP.MsgGroup) AND
(AAA_Temp_EmailImport.MsgDesc = tblEmailLetters_TEMP.MsgDesc);
Here's what happens when I convert the above to a delete query:
DELETE tblEmailLetters_TEMP.*
FROM AAA_Temp_EmailImport INNER JOIN tblEmailLetters_TEMP ON
(AAA_Temp_EmailImport.MsgGroup = tblEmailLetters_TEMP.MsgGroup) AND
(AAA_Temp_EmailImport.MsgDesc = tblEmailLetters_TEMP.MsgDesc);
The delete version fails with a message that says "Could not delete
from specified tables."
I've done this successfully with other data base programs. Why does
this not work?
Thanks folks.