123dstreet
Registered User.
- Local time
- Today, 07:34
- Joined
- Apr 14, 2010
- Messages
- 122
Hi All, I have a little problem; I have a form that shows many records. I created a combo box at the top of the form to filter records by company. The filter code looks like
The filter seems to work, but sometimes the company isn't spelled EXACTLY the way it is shown in the combo box, so I've tried using the LIKE operator but i can't get it to work, any suggestions??
thanks in advance
Code:
Me.Filter = "[Company] Like" & "'" & "*" & Me.Combo60 & "*" & "'"
The filter seems to work, but sometimes the company isn't spelled EXACTLY the way it is shown in the combo box, so I've tried using the LIKE operator but i can't get it to work, any suggestions??
thanks in advance