G
Guest
I have a dialog box that brings up a report. In my dialog box I have 4 combo
boxes and use an Apply Filter button, which works fine. The Remove Filter
button works, but I need to clear the choses in the combo boxes. How can I
do this?
Below is the code that works.
Private Sub cmdRemoveFilter_Click()
On Error Resume Next
Reports![rptDynamic-Report].FilterOn = False
End Sub
I tried to use this this code: Me.cboTestName.Value = "" with each
of the combo box names, but must not be doing something right.
boxes and use an Apply Filter button, which works fine. The Remove Filter
button works, but I need to clear the choses in the combo boxes. How can I
do this?
Below is the code that works.
Private Sub cmdRemoveFilter_Click()
On Error Resume Next
Reports![rptDynamic-Report].FilterOn = False
End Sub
I tried to use this this code: Me.cboTestName.Value = "" with each
of the combo box names, but must not be doing something right.