Results 1 to 3 of 3

Thread: Help to SELECT And Display Data Please

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Posts
    118

    Post

    Hi
    I need to select from a database all the records containing HomePhoneNumber. I want the user to be able to enter the home phone number to search for . Then i need to display it. I need some ideas on how to do this. I've tried lots of things with no success. Any help would be appreciated .
    Keeep in mind I am still new to VB.
    Thanks

  2. #2
    Hyperactive Member
    Join Date
    May 1999
    Location
    Reynosa, Mexico
    Posts
    274

    Post

    I can't put a more complete sample because I don't know what database object you are using. But I hope this idea helps you.

    Code:
    SELECT * FROM table WHERE HomePhoneNumber = '" & MyPhone & "'"
    Good Look!

    Ulises

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Posts
    118

    Post

    I am using a ms Access database. One main problem is How do I show the results in a grid. The SQL search will return several records.Also can any one tell me just how to display the results?
    Any help would be appreciated

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