query, when prompted for id number how can i have more than one id number?
Results 1 to 3 of 3

Thread: query, when prompted for id number how can i have more than one id number?

  1. #1
    Registered User
    Join Date
    Jul 2003
    Location
    Florida
    Posts
    22

    query, when prompted for id number how can i have more than one id number?

    anyone know how to search for multiple items in an access query? I have it so you type in a id number between to get information on that id number, but I need to enter more than one number at a time. I have used a
    =[Please enter ID number?]
    in access but how can i enter more that one number at one time to include say 10 and 18 instead of just 10 or 18.

    thanks!

  2. #2
    Registered User Akuma's Avatar
    Join Date
    Nov 2001
    Location
    The Void
    Posts
    826
    in the criteria line you can enter something like the following

    =[id#1] Or =[id#2] Or =[id#3] etc.....

    This is creating multiple values for the query to test on and will promp the user for each undeclaired variable. Give it a shot!
    Sooouuuushi!

  3. #3
    Registered User
    Join Date
    Jul 2003
    Location
    Florida
    Posts
    22
    Quote Originally Posted by Akuma
    in the criteria line you can enter something like the following

    =[id#1] Or =[id#2] Or =[id#3] etc.....

    This is creating multiple values for the query to test on and will promp the user for each undeclaired variable. Give it a shot!

    that did it ! thanks

Similar Threads

  1. GAME: MindTrap
    By Stalemate in forum Tech Lounge & Tales
    Replies: 5674
    Last Post: July 6th, 2011, 03:30 PM
  2. pass a value from a form to query in VBA
    By Nuce007 in forum Programming And Web Design
    Replies: 3
    Last Post: July 9th, 2004, 06:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •