|
-
Jun 2nd, 2002, 05:36 AM
#1
Thread Starter
Fanatic Member
ADO: .Find How to use the like operator correct?
Hi,
I use rst.Find to find records, but need to use the like operator.
And I need to use parameters for the fieldnames and searchstrings.
Anybody can give me a working example?
This doesn't work:
strFiendField = "CNR"
strSearchString = 100
varReturn = rsCustomer.Find(strFindField & " = " & Trim(strSearchString), , adSearchForward)
varReturn = rsCustomer.Find(strFindField & " LIKE " & Trim(strSearchString), , adSearchForward)
Franky
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|