I have a command button with the code below ... Individually each code get my expected results ... I was trying to combine the two into one using OR ... my end result is the MsgBox error. It's not seeing anything in the unbound text75 box.
I'm sure this is a missing or extra - quote, apostrophe or parenthesis !!! ... I have tried many different combination and have not hit on the correct combination. Or am I missing something else? Thanks in advance.
Option Compare Database
Private Sub Command74_Click()
On Error GoTo Command74_Click_Err
'This Works Fine DoCmd.ApplyFilter , "[ID]= " & [Forms]![PrintSelect]![Text75] & ""
'This Works Fine DoCmd.ApplyFilter "", "[Owner] Like ""*"" & [Forms]![PrintSelect]![Text75] & ""*"""
The Following Does Not work
DoCmd.ApplyFilter "", "[ID] = " & [Forms]![PrintSelect]![Text75] & " Or [Owner] Like ""*"" & [Forms]![PrintSelect]![Text75] & ""*"", """
Command74_Click_Exit:
Exit Sub
Command74_Click_Err:
MsgBox "Enter Criteria in Search Box"
Resume Command74_Click_Exit
End Sub