i need to search a all related title of the book in my database.. the code below search only exact title..where do i insert an * wildcard to search all related keyword title..ex. if i search computer, all titles that contains keyword computer will be displayed...thanks
Adodc2.Recordset.Filter = "[book]='" & b & "'"
junjun61991
0
Newbie Poster
Recommended Answers
Jump to PostOr you can use the %
Adodc2.Recordset.Filter = "[book]='%" & b & "%'"
Jump to PostTarang, please open a new thread for your question. This thread belongs to JunJun as above. Further, your select statement is incorrect -
q = "select *from student where std=" & cmbsd.Text & " AND admin=" & year.Text & " "
should read -
q = "SELECT …
All 7 Replies
zerocool21
-1
Newbie Poster
jhai_salvador
48
Junior Poster
Tarang Raval
0
Newbie Poster
zerocool21
-1
Newbie Poster
AndreRet
526
Senior Poster
Tarang Raval
0
Newbie Poster
AndreRet
526
Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.