Hi All,
I have a new database made of 29 tables. Users enter data via form that consists of one main form and several subforms. Users keep running into the following error when they move on from the fields on the main form and first begin to enter data on any one of the subforms (they can enter data into one field on the subform but as soon as they attempt to leave that field, the following error message appears):
The changes you requested to the table were not successful because they 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 checked the tables and I do not believe that I have any inappropriate indexed fields (very few in fact, and none that do not allow duplicate values...except the primary key)
Users can get around this error message and fully enter data for a given record if they:
1. Undo the Current Field/Record (to get rid of the value they entered into the first field on the subform)
2. Close the form
3. Re-open the form
Obviously that is not an appropriate solution, but I do not know what is causing this problem. There is a one-to-one relationship between the parent table and the child table(s) that sit on the subform(s), referntial integrity is enforced, and cascade update and delete are checked.
Any thoughts on what the problem and solution might be? Thank you.