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
Auto Shrink in SQL 2005
CNAME resource reocrds for Site is incorrect
Need to add Numeric Field representing Hours and Minutes
MS Calendar in wrong language
Cannot send email from Word
CInt not working
"Welcome System Account" when logging into SharePoint sites
Does SqlServer support Cascade delete?
How to edit an access(.adp) project using Visual Basic for Applications?
Save unbound combobox column value in Access 2007