Need help with code to filter selections. If the check box is checked for certain items i want a button to filter the results to only show these items when the button is clicked.
So far I have:
Private Sub Command25_Click()
If chkNeedPart = -1 Then
Me.Filter = "NeedPart=" True
Me.Form.Refresh
End If
End Sub
I tried using RunCmd.ApplyFilter( ,"chkNeedPart=" True, ) didn't work.