A
April Marano
I have a form frmPatients whose data source is tblPatients which contains
patient identifiers such as name, address, as well as the field
PatientIDNum.
This form has an embedded subform sbfDiagnoses in datasheet view which shows
multiple diagnoses for each patient. sbfDiagnoses's data source is a query
based on a linking of two tables: 1) tblLinkPatientDiagnosis which contains
fields LinkIDNum, PatientIDNum, DiagnosisIDNum and 2) tblDiagnoses which
contains fields DiagnosisIDNum and DiagnosisName.
The two forms are connected by the child and master fields PatientIDNum.
I'm trying to develop a search form with a ComboBox with a dropdown list of
all possible diagnoses. When I click the "Search" button, I want
frmPatients to open up filtered only with patients that share the diagnosis
shown in the ComboBox.
Any ideas on how I'd do this?
April
patient identifiers such as name, address, as well as the field
PatientIDNum.
This form has an embedded subform sbfDiagnoses in datasheet view which shows
multiple diagnoses for each patient. sbfDiagnoses's data source is a query
based on a linking of two tables: 1) tblLinkPatientDiagnosis which contains
fields LinkIDNum, PatientIDNum, DiagnosisIDNum and 2) tblDiagnoses which
contains fields DiagnosisIDNum and DiagnosisName.
The two forms are connected by the child and master fields PatientIDNum.
I'm trying to develop a search form with a ComboBox with a dropdown list of
all possible diagnoses. When I click the "Search" button, I want
frmPatients to open up filtered only with patients that share the diagnosis
shown in the ComboBox.
Any ideas on how I'd do this?
April