Results 1 to 2 of 2
  1. #1
    vnms2001 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2014
    Posts
    13

    Specific data selection in query


    Let's say I have a database that contains an info. that has many company codes. For example company #s 1,2,3,4,5 etc. When I run my query, it is setup the way that I can either select one company ( Ex. Company# 2) or all the companies (Company #s 1,2,3,4,5,etc.) - and here is the formula in criteria field in query design - Like [Company] & "*"

    My question is this: How can I setup the query that I can select multiple companies, such as company 2,4 & 5 etc or all copmanies when I want to show all. Please help.

    Thank you

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 12
    Last Post: 02-25-2014, 08:32 AM
  2. Replies: 9
    Last Post: 06-21-2013, 08:22 PM
  3. Replies: 4
    Last Post: 02-09-2012, 03:03 AM
  4. Replies: 11
    Last Post: 12-04-2010, 10:20 AM
  5. Replies: 1
    Last Post: 11-11-2010, 11:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums