Question : MS Access Query/VBA/SQL problem

Hi, I am trying to do a simple delete from a table called "BL_FILE TO GO" based on a field called "deliv_num" if that record exists in "BL_FILE TO GO" as well as "BL_FILE". When I run the query all I get is an error saying "Could not delete from specified tables".

There is not much to this. What am I missing?

Thanks!

DELETE [BL_FILE TO GO].*
FROM [BL_FILE TO GO] INNER JOIN BL_FILE ON [BL_FILE TO GO].deliv_num = BL_FILE.deliv_num;

Answer : MS Access Query/VBA/SQL problem

try

DELETE *
FROM [BL_FILE TO GO]
Where deliv_num in (select deliv_num from BL_FILE)
Random Solutions  
 
programming4us programming4us