Hi again,
i have a db with 6 main tables named
the 1st table tbl_main_data has the field "sn" as key, and it is indexed with no duplicates,and its not auto_increment.
There is no relation in tables with relationships but every table has the "sn" as a number.
in Forms now which is tabs with subforms i have made the "connections" between the tables i mentioned above.
the main problem is :
while i was trying to input data sometimes i take the following message
" 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."
after that if i press ESCAPE that clears the fields, close and reopen the access and go to the specific record and the specific subform and enter the data, working fine!!!!!
I have to say that i dont wont to have a 1 to many relationship in these tables, i prefer to have 1 to 1.
the forms has also text boxes and frames.
I dont know what to do,
please any assist??

i have a db with 6 main tables named
- tbl_main_data
- tbl_habits_data
- tbl_medical_history_data
- tbl_medication_data
- tbl_osteo_data
- tbl_woman_data
the 1st table tbl_main_data has the field "sn" as key, and it is indexed with no duplicates,and its not auto_increment.
There is no relation in tables with relationships but every table has the "sn" as a number.
in Forms now which is tabs with subforms i have made the "connections" between the tables i mentioned above.
the main problem is :
while i was trying to input data sometimes i take the following message
" 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."
after that if i press ESCAPE that clears the fields, close and reopen the access and go to the specific record and the specific subform and enter the data, working fine!!!!!
I have to say that i dont wont to have a 1 to many relationship in these tables, i prefer to have 1 to 1.
the forms has also text boxes and frames.
I dont know what to do,
please any assist??
