sfn149
asked on
Me.Filter Query question
What am I doing wrong with the strFilter portion of this code. I get the attached error everytime.
I am trying to filter the records to only get records with LIKE results in the column called Description. In the test I was looking for the word GOD.
strFilter = "Description LIKE '" & strSearch '"
Me.Filter = strFilter
Me.FilterOn = True
I am trying to filter the records to only get records with LIKE results in the column called Description. In the test I was looking for the word GOD.
strFilter = "Description LIKE '" & strSearch '"
Me.Filter = strFilter
Me.FilterOn = True
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
strFilter = "[Description] = " & Chr(34) & strSearch & Chr(34)
Me.Filter = strFilter
Me.FilterOn = True
mx