Hello there, i began to make a simple db for my patients (i m a doctor).
I have a central table with the patient's data and others regarding their history, their visits etc
I ve made a form where i put fields from all the tables in the same form. I need to be able to type in the each new patient's data, with his significant history and then to type in each new visit for each patient.
For this reason i've put the Social Security Number in every table. It's the primary key in Patient's data and in patient's history and it's common but not primary key in the Visit's table. So i've made One-2-One relationships with patient's data and patient's history tables (i need 1 record for each patient) and One-2-Many relationship between patient's data and patients' visits' (many patients, many visits for each one).
The problem is that when i insert the patient's data in the form, and i go further to insert info in the fields of his history and visits, Access say "cannot find the value in the "SocialSecurityNumber" field of Patient's History table".
Is there any way to insert one time the SS number in the patient's data table and then automatically be inserted in all SSN fields, in all tables as new records??