Delete records where joined fields are equal

J

Jill

I have 2 tables, both have a field that is the same. I
ran a select query to show me the records where the joined
field is equal. I would now like to delete the records;
however, when I run the delete query I get an error
message saying I don't have permission. I am the Admin
for the database, so this is definately not the case.

Thanks!
 
J

John Vinson

I have 2 tables, both have a field that is the same. I
ran a select query to show me the records where the joined
field is equal. I would now like to delete the records;
however, when I run the delete query I get an error
message saying I don't have permission. I am the Admin
for the database, so this is definately not the case.

Have you defined a Relationship between the two tables? The query will
not be updateable unless there is a unique index, such as a Primary
Key, on the joining field in the "one" side table.

Perhaps you could open the query in SQL view and post the SQL here,
and indicate from which table (or tables) you would like to delete
records.
 

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