E
E.Q.
I hope this one is easy.
I created a form (fsubEventDetail) with the intent of using it as a subform.
One control (cboObject) is populated by the results of another control
(cboArea). When I created the form, the source for cboObject had the
following SQL
Select Distinct chrObject
From tblAreas
Where chrArea = Forms!fsubEventDetail.cboArea;
That worked perfectly (along with a Me.Refresh) to get the desired drop-down
list for the user. However, when I placed this as a subform on a form called
frmShiftDetail I couldn't get it to work. I was hoping that the subform
wizard would make any appropriate changes, but that didn't happen. Next I
tried to edit the "where" clause as follows:
Where chrArea = Forms!frmShiftDetail!Form!fsubEventDetail.cboArea;
unfortunately I keep getting a parameter dialogue box.
I'm obviously missing something.
Thanks,
E.Q.
I created a form (fsubEventDetail) with the intent of using it as a subform.
One control (cboObject) is populated by the results of another control
(cboArea). When I created the form, the source for cboObject had the
following SQL
Select Distinct chrObject
From tblAreas
Where chrArea = Forms!fsubEventDetail.cboArea;
That worked perfectly (along with a Me.Refresh) to get the desired drop-down
list for the user. However, when I placed this as a subform on a form called
frmShiftDetail I couldn't get it to work. I was hoping that the subform
wizard would make any appropriate changes, but that didn't happen. Next I
tried to edit the "where" clause as follows:
Where chrArea = Forms!frmShiftDetail!Form!fsubEventDetail.cboArea;
unfortunately I keep getting a parameter dialogue box.
I'm obviously missing something.
Thanks,
E.Q.