Delete Query

G

GeoDude

I need help in designing a delete query.

I have two tables and I need to join three fields. When I run the
delete query it says "cannot delete from specified tables". I have
successfully deleted when I only join one field. Is there a way to
delete data from a table with a query and three fields joined?

Thanks in advance.
 
D

Dirk Goldgar

GeoDude said:
I need help in designing a delete query.

I have two tables and I need to join three fields. When I run the
delete query it says "cannot delete from specified tables". I have
successfully deleted when I only join one field. Is there a way to
delete data from a table with a query and three fields joined?

Thanks in advance.

Please post the SQL of the query.
 
J

John Vinson

I need help in designing a delete query.

I have two tables and I need to join three fields. When I run the
delete query it says "cannot delete from specified tables". I have
successfully deleted when I only join one field. Is there a way to
delete data from a table with a query and three fields joined?

Thanks in advance.

Yes... but not all queries are updateable, and unless the query is
updateable it will in fact give this message.

You will need a unique Key, such as a Primary Key, on the combination
of the three fields.

Perhaps you could open the query in SQL view and post the SQL text
here; someone may be able to suggest an alternative query that will
work.

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top