query no updatable

F

Fredrated

I have a query which seems simple enough, but it is not updatable, any ideas
why?

I have 2 tables, PDAs and Contacts.
I have a many to many table to relate them, because a PDA can have multiple
contacts, and a contact can be a contact for multiple PDA's

The key to the PDA table is 'KEY' (not my idea), and the key to the contact
table is 'contact_id'

The intermediate table, PDA_Contacts is 2 fields, 'KEY' and 'contact_id',
and together they make up the key for this table (called pda_contacts).

I am trying to base a form on a query that relates pda_Contacts to Contacts
by the field contact_id (to be the basis of a subform that allows the
addition of contacts to PDAs). However, this query will not allow edits to
contact information!
I can update contact information in a query which has only that table, but
as soon as I add the table pda_contacts, the query cannot be updated.

Any ideas?

Thanks in advance for any help.

Fred
 
F

Fredrated

You are awesome! When I went back and inspected the contact table I found
that it had an autonumber field for id, but it had not been made the primary
key, and the index MS had created by default was not unique. When I made
this the primary key the query became updatable. Thank you very much for
your valuable help.

I bookmarked your help page for future reference.
 

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