Access 2003
Trying to filter a form based on a field with wildcard
My form has a txtCustFilter control where a customer's name cane be entered in part or whole
The Customer's name is in PCCustomerName
This code works but, I'd like to make it case insensitive
Trying to filter a form based on a field with wildcard
My form has a txtCustFilter control where a customer's name cane be entered in part or whole
The Customer's name is in PCCustomerName
This code works but, I'd like to make it case insensitive
Code:
Dim strFilter As String
strFilter = "[PCCUSTOMERNAME] LIKE ""*" & Me.txtCustFilter & "*"""
Me.Filter = strFilter
Me.FilterOn = True