Any help would be highly appreciated. I am getting the following error when I erase the text and type a letter. I want to be able to type a letter and it takes me to the list that starts with the letter. I can select the drop down and select the customer and it works but I get the error when I select the first letter.
Run-time error '3075':
Syntax error (missing operator) in query expression 'Customer ='.
Run-time error '3075':
Syntax error (missing operator) in query expression 'Customer ='.
Code:
Private Sub CustomerCombo_Change()
'If the combo box is cleared, clear the form filter.
If Nz(Me.CustomerCombo.Text) = “” Then
Me.Form.Filter = “”
Me.FilterOn = False
Else: Me.Filter = "Customer = " & Me.CustomerCombo
DoCmd.RunCommand acCmdApplyFilterSort
End If
End Sub