I have been filtering a report by using a single check box on a form and an associated combo box. I use the following code in the report module with the reports onOpen event:
If (Forms![xyz]![chk1]) = True Then
Me.Filter = "[Item1] = Forms![xyz]![cbo1]"
Me.FilterOn = True
End If
However, I now need to use 4 check boxes on the form (and associated combo's) but I don't know how to write the code in the report module so that it will apply the 4 filter criteria.
Can anybody help?
If (Forms![xyz]![chk1]) = True Then
Me.Filter = "[Item1] = Forms![xyz]![cbo1]"
Me.FilterOn = True
End If
However, I now need to use 4 check boxes on the form (and associated combo's) but I don't know how to write the code in the report module so that it will apply the 4 filter criteria.
Can anybody help?