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
Microsoft Project Server will not respond to requests for fully qualified domain names
Loading any ActiveX.ocx in VB.NET Form
How do I remove windows Encryption
VBA code to select the folder one level above this workbook's folder
Trying to rank top 10 records in Access query by a group
How to open and close an excel file from Scheduled Tasks
SSRS report Create a new data source for a parameter
The item '/Data Sources' already exists
Batch file that does a file search and then if found executes a specific command on the file
Visual Basic Search and Replace through large text file