Hi,
I have a patient related database where there are 2 tables - tblPatient (primary key Patient ID) which includes patient details like name etc and tblVisit (primary key VisitID) which includes data recorded at each patient visit like visit date and blood test results. To join these 2 tables I have created another table with PatientID and visit dates (primary key VisitID) which is connected with one to many relationship with tblPatient via PatientID and one to one relationship with tblVisit via VisitID.
I have created 2 queries one for for patient details with tblPatient and another for visit details with tblVisit.
I have 2 forms one created using each of the queries - frmPatient and frmVisit.
I need to have a combo box on the frmPatient form to select the date/dates (one patient could have many visits) that the patient has visited so that I can see the respective details from frmVisit. I also need to be able to insert a new date value to the combobox and transmit this to tblVisit so that I can insert visit information like blood test results into the tblVisit.
Is this possible using a combobox or is there a better way to go about this?
Thanks in advance.
I have a patient related database where there are 2 tables - tblPatient (primary key Patient ID) which includes patient details like name etc and tblVisit (primary key VisitID) which includes data recorded at each patient visit like visit date and blood test results. To join these 2 tables I have created another table with PatientID and visit dates (primary key VisitID) which is connected with one to many relationship with tblPatient via PatientID and one to one relationship with tblVisit via VisitID.
I have created 2 queries one for for patient details with tblPatient and another for visit details with tblVisit.
I have 2 forms one created using each of the queries - frmPatient and frmVisit.
I need to have a combo box on the frmPatient form to select the date/dates (one patient could have many visits) that the patient has visited so that I can see the respective details from frmVisit. I also need to be able to insert a new date value to the combobox and transmit this to tblVisit so that I can insert visit information like blood test results into the tblVisit.
Is this possible using a combobox or is there a better way to go about this?
Thanks in advance.