CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Posts
    5

    What's The Code For Database Search ???

    pleaase help me !!!

    im building a phone book
    whats the code to find a person on a grid ???

    the db's table name is "Book"
    the rows are "Name" , "Address" , "PhoneNum"

    please give me the code and a little explination on how it worx

    thnx


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: What's The Code For Database Search ???

    Didn't Lothar already answer this one for you ?

    http://www.codeguru.net/bbs/wt/showp...&sb=5#Post5117

    >the db's table name is "Book"
    >the rows are "Name" , "Address" , "PhoneNum"

    One would imagine a select statement like :

    Select * from Book where Name = 'rtfm' ....... etc

    The help that comes with VB should be more than adequate to help you get started in using DAO, RDO or ADO.




    Chris Eastwood

    CodeGuru - the website for developers
    http://www.codeguru.com/vb

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

Featured