Hi
A quick search of the forum hasn’t found the answer to this small problem.
I’m trying to write a delete sql which deletes records from two tables based on criteria from one of the tables. The table join is one to many relationship (see attahed). The following code is my initial attempt, which failed (error message said could not delete from table):
DELETE DISTINCTROW Active.*, NEDI.*
FROM Active INNER JOIN NEDI ON Active.Active_ID = NEDI.Active_ID
WHERE (((Active.ADI_WHO)=0) AND ((Active.ADI_ERMA)=0));
I know there are some ‘tricks’ to doing this, but I can’t recall what they are!
If further info required, please advise.
Thanks and Regards
WTH