J
JD
Hello,
Hoping someone can help me out with the following:
I have a the following table structure:
Table A (Individuals)
Table B (Keys)
Table B has a Primary Key named Keys.
Keys has been added to Table A as a Foreign Key using the name fkKeys.
There is a One-To-Many relationship between Keys and fkKeys. Table B is
currently the One side and Table A is the Many side. Referential Integrity
is enabled with both Update Cascading and Delete Cascading enabled.
I created a form using these two tables. There is a text box for fkKeys so
a user can enter the Key number into the text field in order to update Table
B. Unfortunately, I now found out that Access does not allow entering data
in a Foreign Key in order to update the Primary Key of another table because
it breaks Referential Integrity rules.
Since only the One side can be updated with data, how can I create form that
uses Referential Integrity to update records in both Table A and Table B ?
Regards,
Jason
Hoping someone can help me out with the following:
I have a the following table structure:
Table A (Individuals)
Table B (Keys)
Table B has a Primary Key named Keys.
Keys has been added to Table A as a Foreign Key using the name fkKeys.
There is a One-To-Many relationship between Keys and fkKeys. Table B is
currently the One side and Table A is the Many side. Referential Integrity
is enabled with both Update Cascading and Delete Cascading enabled.
I created a form using these two tables. There is a text box for fkKeys so
a user can enter the Key number into the text field in order to update Table
B. Unfortunately, I now found out that Access does not allow entering data
in a Foreign Key in order to update the Primary Key of another table because
it breaks Referential Integrity rules.
Since only the One side can be updated with data, how can I create form that
uses Referential Integrity to update records in both Table A and Table B ?
Regards,
Jason