Results 1 to 3 of 3
  1. #1
    Traceyann1964 is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jan 2015
    Posts
    23

    Query to extract selected fields from table


    I have a "Risk Assessment" table with Contractor information and then a few yes/no fields. One or multiple fields could be = yes.
    I would like a report to show the Contractor fields and then only the fields = yes and omit fields = no. Presuming I would need to do this first in a query, whats the best way to proceed? I have no knowledge of VBA and newish to Access

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    You don't need vb.
    create many queries where [field]=true put them all in a UNION query.
    or
    instead of dozens of yes/no fields on the contractor table, create a sub table (child) to hold all these settings....
    personID, skill

    Then you search the 1 field for the skill, instead of a dozen fields.

  3. #3
    Traceyann1964 is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jan 2015
    Posts
    23
    Ahh ok. I will try that thank you

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

Similar Threads

  1. Replies: 5
    Last Post: 03-24-2014, 07:04 AM
  2. Replies: 11
    Last Post: 04-22-2013, 04:21 PM
  3. Replies: 7
    Last Post: 06-14-2011, 10:37 AM
  4. Replies: 0
    Last Post: 03-08-2011, 05:56 PM
  5. Replies: 1
    Last Post: 08-17-2010, 02:33 PM

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