Query from two tables, add and edit do not work

  • Thread starter Thread starter David Drosselmeyer
  • Start date Start date
D

David Drosselmeyer

I have a database with several tables. I have created a query that pulls all
fields from two tables joined by three fields (ID, Year, Month) which are
common to both tables. My query gets the records I want, but I am not able
to edit the field contents or add any new records.

Any suggestions on what I am doing wrong?

Thanks for your help.
David
 
Are ID, Year, and Month defined as the Primary Key in one or both tables?
 
No, there are no primary keys in either table. The "left" table has many
records and the "right" table has only a few records.

Most of the tables in the database are accessed by a commercial program and
won't tolerate changes to the database structure. The "right" table was
added to the database by me and I can alter it in any way necessary.

Thanks,
David

ps. sorry for the off group email, I pressed the wrong reply button.
 
If you can't make a primary key in either table then create a main form of
the form with a few records and subform of the many records. Set the Link
Parent/Child properties to your common fields.
 

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

Back
Top