missymarie1014
Technical User
Access 2000.... Can someone tell me why this code produces a type mismatch error. Each filter, when executed separately, works fine. Am I doing something wrong in trying to combine them? These are Boolean fields.
Code:
Private Sub ActiveRawCommand_Click()
On Error GoTo Err_ActiveRawCommand_Click
Me.Filter = "InactiveProduct = 0" And "IsBulkProduct = 0"
Me.FilterOn = True
Exit_ActiveRawCommand_Click:
Exit Sub
Err_ActiveRawCommand_Click:
MsgBox Err.Description
Resume Exit_ActiveRawCommand_Click
End Sub