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
Why can't I write files to the root of my C drive?
Dynamic? form fields
C / C++ DSN connect (.mdb)
Late bindingan ActiveX component
A Christmas Card challenge
Should I use SqlDataSource or SqlConnection (which is better)
How to terminate a processes in MS SQL Server
prevent user to save worksheet
VBA to get a list of queries that use a specific table
SBS 2008 RWW Connect to Computer, will not authenticate