|
-
May 28th, 2000, 10:37 PM
#1
Thread Starter
Addicted Member
Using the "asterisk" in the 'Like' statement doesn't seem to work in ADO.
If anyone knows a way around it, let me know, Thanx
DAO - This works
strtype = "C*"
dtaClass.RecordSource = "Select * from TypeDesc where TypeDesc Like '" & strType & "'" & " ORDER BY Index"
ADO - This doesn't
strtype = "C*"
adoSearchRS.Open "Select * from TypeDesc where TypeDesc Like '" & strType & "'" & " ORDER BY Index", db, adOpenStatic, adLockOptimistic
-
May 28th, 2000, 10:56 PM
#2
Try a percent sign (%) instead of the asterisk.
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
|