-
March 22nd, 2011, 12:40 PM
#1
syntax help urgent pls
how could i add course2 with my syntax..my code doesnt work..
Code:
RSonn3 "select * from tbluserinfo where course Like '" & text1.text & "%'" AND course2 Like '" & text1.text "'%"
-
March 22nd, 2011, 01:23 PM
#2
Re: syntax help urgent pls
its like combining this two codes by i dont know how to combine them.
Code:
RSconn3 "select *from tbluserinfo where course Like '" & Text1.Text & "%'"
RSconn3 "select *from tbluserinfo where course2 Like '" & Text1.Text & "%'"
-
March 22nd, 2011, 01:34 PM
#3
Re: syntax help urgent pls
Use OR instead of AND for one or the other.
-
March 22nd, 2011, 01:39 PM
#4
Re: syntax help urgent pls
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
|