|
-
Jan 5th, 2010, 05:49 PM
#1
Thread Starter
Member
Search box?
Hey guys i want to make a form that i can search a local database.
is there any tutorials or power pack out there?
-
Jan 5th, 2010, 09:36 PM
#2
Hyperactive Member
Re: Search box?
The Find Method of the BindingSource or the Dataview is good way to search a database. You might want to do some research there.
-
Jan 6th, 2010, 06:18 AM
#3
Thread Starter
Member
Re: Search box?
this tutorial is exacly what i need but it does not work with vb 08...
Code:
http://msdn.microsoft.com/en-us/vbasic/bb643828.aspx
How Do I: Create a Search Form?
can somebody check it out and see whats the bug?
in the query
WHERE lastName LIKE @ LastName +'%'
get an error at @
-
Jan 6th, 2010, 06:41 AM
#4
Re: Search box?
I think the @ should be directly next to the LastName, so @LastName rather than @ LastName. I just downloaded the code though and cant find any such query anywhere in it..
-
Jan 6th, 2010, 07:12 AM
#5
Thread Starter
Member
Re: Search box?
in query builder when she is creating the query.
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
|