Results 1 to 5 of 5

Thread: Search box?

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    56

    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?

  2. #2
    Hyperactive Member
    Join Date
    Jun 2009
    Posts
    307

    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.

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    56

    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 @

  4. #4
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    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..
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    56

    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
  •  



Click Here to Expand Forum to Full Width