Hello all,
I am creating a database that stores data about patients participating in a health education program. For this purpose I have two tables, Table1 stores demographic and baseline information, with an auto number as the Primary Key and Table2 stores the first intervention done with the patient with a field referencing the Primary Key in table1.
These tables are linked based on a one to many relationship, and I have two forms to enter the data into the two tables.
These patients are supposed to receive three interventions more and I want to be able to enter the next interventions linking them to the first record I created at the first intervention.
To enter the information about the new interventions we open the form for Table2 from the switchboard, which it give us a new empty record not linked to anything. We need some help to figure out how to open the form in an Add mode and retrieve the ID of the patient in question that was created at the first intervention. Can somebody assisst us with this? Thank you very much
I am creating a database that stores data about patients participating in a health education program. For this purpose I have two tables, Table1 stores demographic and baseline information, with an auto number as the Primary Key and Table2 stores the first intervention done with the patient with a field referencing the Primary Key in table1.
These tables are linked based on a one to many relationship, and I have two forms to enter the data into the two tables.
These patients are supposed to receive three interventions more and I want to be able to enter the next interventions linking them to the first record I created at the first intervention.
To enter the information about the new interventions we open the form for Table2 from the switchboard, which it give us a new empty record not linked to anything. We need some help to figure out how to open the form in an Add mode and retrieve the ID of the patient in question that was created at the first intervention. Can somebody assisst us with this? Thank you very much