Microsoft
Software
Hardware
Network
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
Query to find matching patterns in a table
how to eliminate double input of a value
MS Access 2007 - closing a table
Animationed GIFs don't animate in Outlook 2007
dbSeeChanges error on SQL DELETE
Creating multiple combo-box lookups in one form
Migrating Windows Live Mail to Outlook 2007
How to create a file that has "\" or "&" in the file name?
Visual Fox Pro Error
Creating Next and Previous Record Button