Hi there all you smarter than me people!
I am stuck. I have been working on this database for days and cannot figure out how to solve my problem.
I have a form with two embedded subforms. The parent form contains patient identifiers, such as, medical record number, first name, middle initial, last name, physican name, etc. The first subform contains appointment information, such as, test results, procedures, counseling, etc. The second subform contains baby delivery data.
Each form/subform has a table as its control source. The parent table has the member record number (MRN) as it's primary key (no duplicates). The subforms has a database ID, autonumbered, as their primary keys.
I used DLookup to auto populate the controls on the parent form, using a query attached to an unbound control. However, I cannot save any changes on previously entered records. I receive the following error message: "The changes you requested to the table were not successful because thgey would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again." I want to be able to edit and add new records to the table.
Help!!!
Thanks.
Linda