|
-
Jun 10th, 2003, 01:30 PM
#4
Hyperactive Member
Originally posted by MichaelC2468
You'll also want to replace the "*" in sSearchVal before setting sSQL.
sSearchVal = REPLACE(sSearchVal, "*","")
sSQL = "SELECT * FROM members WHERE " & sField & " LIKE '%" & UCase(sSearchVal) & "%'"
Yep...Thats a good catch...
Enjoy!!!
apps_tech
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
|