X
xd
Currently I have a form use to provide information to open a report.
If i want to add one more text box, call details
how to write if the report open will find all the record in any fields
in the table which contains the words that type in the text box?
I do have one sample code is like this:
If Not IsNull(details) Then
strWhere = strWhere & " AND details= " & "'" & details & "'"
End If
But this kind of statement will just match the exact word have in the
details field in the table.
It can't do a searching job to search all the fields contain this
word.
How can I change this code?
If i want to add one more text box, call details
how to write if the report open will find all the record in any fields
in the table which contains the words that type in the text box?
I do have one sample code is like this:
If Not IsNull(details) Then
strWhere = strWhere & " AND details= " & "'" & details & "'"
End If
But this kind of statement will just match the exact word have in the
details field in the table.
It can't do a searching job to search all the fields contain this
word.
How can I change this code?