flying linus
Registered User.
- Local time
- Yesterday, 19:25
- Joined
- Oct 1, 2004
- Messages
- 33
I am trying to filter data on a form based on user selection of criteria from two independent combo-boxes. Here is the code I have so far:
Private Sub Combo9_AfterUpdate()
Forms![frmDF_AV_Fail_Cases_Summary].Form.Filter = "[1st_Fail_Domain] = '" & Me![Combo9] & "'"
Form_frmDF_AV_Fail_Cases_Summary.Form.FilterOn = True
End Sub
Private Sub Combo11_AfterUpdate()
Forms![frmDF_AV_Fail_Cases_Summary].Form.Filter = "[2nd_Fail_Domain] = '" & Me![Combo11] & "'"
Form_frmDF_AV_Fail_Cases_Summary.Form.FilterOn = True
End Sub
How do I get the form to filter based on the first selection and the second selection? Right now they both perform independently.
Private Sub Combo9_AfterUpdate()
Forms![frmDF_AV_Fail_Cases_Summary].Form.Filter = "[1st_Fail_Domain] = '" & Me![Combo9] & "'"
Form_frmDF_AV_Fail_Cases_Summary.Form.FilterOn = True
End Sub
Private Sub Combo11_AfterUpdate()
Forms![frmDF_AV_Fail_Cases_Summary].Form.Filter = "[2nd_Fail_Domain] = '" & Me![Combo11] & "'"
Form_frmDF_AV_Fail_Cases_Summary.Form.FilterOn = True
End Sub
How do I get the form to filter based on the first selection and the second selection? Right now they both perform independently.