I have a MS Access table called File
It has fields called FileNum, Description and Comments. I want to enable the end user to type in one or more words / numbers to search for a particular file.
My
VB code looks like:
gstrSQL = "SELECT * FROM PENDING WHERE"
'if the Search File Name Check box is selected ...
If bFileName Then
gstrSQL = gstrSQL & " FILENUM LIKE '*" & strSearchText & "*'"
End If
As a test, I'm asking the program to search for "1110" in the file number field. I have a file number in the table with the value "1110-4-02" but the search comes back empty.
??
Please advise.
Thanks.