Main Form Duplicated when Data entered in Subform

sreid

New member
Local time
, 21:36
Joined
Aug 6, 2014
Messages
4
I have a main form titled "projects" with a subform titled "inventory". They are linked by two fields "project" and "fiscal year" with a one to many relationship. These fields are also the primary keys in the main form. I also have the referential integrity option activated.

Whenever data is entered in the subform inventory, it duplicates the main form and all the other subforms linked to the main form. (I have about 11 other subforms linked to the main form). So if I enter 2 records in the inventory tab, there will be 2 records for the same project and fiscal year in the subform and all the other linked subforms with the same data, so it is almost like it is seeing the inventory subform as the main form. I have tried deleting the duplicate record from the main form, then it deletes the 2nd entry of the subform. I have attached a pdf with a print screen of the 2 duplicate records with the same fiscal year and project name.

I have another form called Notes that has a similar relationship, but doesn't have this problem. I think it might have something to do with the conversion. I originally created the database with Access 97 and we are now using Access 2007. Am I missing something that needs to be done in Access 2007 to link the 2 forms, so I can enter records in the subform without duplications?

Also, the database is split so there is a back end and front end. I have all the tables and relationships set in the back end.
 

Attachments

Are you able to post the 2 databases with some sample data, (zip it because you haven't post 10 post yet)?
 
Attached is the front end db.
 

Attachments

I can't up load the back end db. The file is too large, even if I zip it.
 
Have you done a "Compact & Repair", then without the data it isn't to say what went wrong.
 
I complete a compact and repair at least once a week.
 

Users who are viewing this thread

Back
Top Bottom