Old Man Devin
Consul Of Code
- Local time
- Today, 23:15
- Joined
- Jan 10, 2014
- Messages
- 183
I mean it filters and returns nothing, when you click on the drop down arrow on the combo box all PostCodes are listed in the drop down. When I type SW for SW London and then press enter it filters but with no results.
And yes the filter box does show orange and that it has been filtered.
I think that can only mean the wildcard isn't working (if there definitely are entries beginning with "SW"), so I suggest you take it out for now.
The only other way of trying it that comes to mind is to replace the '=' with 'like' for the lines are of the form:
Code:
" and [PostCode] Like '" & _
Replace(Me.cboPostCode.Text, "'", "''") & "*'"