Solved

Delete Query in Access 2010 Doesn't Work

Posted on 2012-03-15
1
430 Views
Last Modified: 2012-04-11
Access 2010.
When I try to run the query below it gives me the Could Not Delete from Specified Tables error.
I used the exact same query on different data (same table names and structure) and it runs fine - I created this in Access 2003 last year - tried running it in 2010 and it runs.

DELETE [Filter 3 Make Table].*, [Filter 3 Make Table].ResType
FROM [Lessees after Filter 3 for Delete Query] INNER JOIN [Filter 3 Make Table] ON ([Lessees after Filter 3 for Delete Query].Unit = [Filter 3 Make Table].Unit) AND ([Lessees after Filter 3 for Delete Query].MP = [Filter 3 Make Table].MP)
WHERE ((([Filter 3 Make Table].ResType)<>"LESS"));

Thanks Experts!
0
Comment
Question by:Nero83
1 Comment
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
ID: 37727451
you need to have several separated deletes

more:

check solutions from the article:

I get the error message "Could not delete from the specified tables"
http://office.microsoft.com/en-us/access-help/i-get-the-error-message-could-not-delete-from-the-specified-tables-HA010096316.aspx
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This collection of functions covers all the normal rounding methods of just about any numeric value.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now