-
Feb 7th, 2009, 01:44 AM
#1
Thread Starter
New Member
vb6.0 search button help!
guys... can u give me a code for search button in vb6.0 using ADODB connected to datagrid control...
the ADO connected to ms access database...
for example... i search the name of the student in the text box and i click the search button... the result will appear in the datagrid control...
please... help
thnx in advance...
Last edited by lemetedz000; Feb 7th, 2009 at 01:51 AM.
-
Feb 7th, 2009, 02:26 AM
#2
New Member
Re: vb6.0 search button help!
What I would do is modify your query string and reload the data.
Like
select * from student where lastname = 'kid' or select * from student where firstname like '%dan%'
Just a suggestion.
Dan
-
Feb 7th, 2009, 09:57 AM
#3
Re: vb6.0 search button help!
Welcome to VBForums
Thread moved to Database Development forum (the "VB6" forum is meant for questions which don't fit in more specific forums)
You can find further explanation of what Dan suggested in the "Further Steps" link in my signature. Like many of the other articles around, it does not use bound controls (like the DataGrid) but you may be able to find the extra info you need in the "bound controls" section of our Database Development FAQs/Tutorials (at the top of this forum)
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
|