Results 1 to 2 of 2
  1. #1
    Shura is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2014
    Posts
    2

    Creating a Query to show all possible combinations?

    Hi All,



    I'm currently making a Database to track training on machines. Each machine has 10 criteria that needs to be assessed.
    I currently have 3 tables. One for the Trainee (Key feild TraineeID), One for Machine (Key Field MachineID) and one for the Criteria(Key Field CriteriaID)

    What I have been racking my brain trying to figure out is how I would create a query that would display all possible combinations for these three criteria
    . I've worked out there are about 4000 or so possible combinations, and with new staff coming and going it would make filling in this table incredibly tedious.

    Here's an example of what I'm talking about. Does anyone have any suggestions? All help is very much appreciated!

    Example:
    TraineeID MachineID CriteriaID
    1 1 1
    1 1 2
    1 1 3
    1 2 1
    1 2 2
    1 2 3
    2 1 1
    2 1 2
    2 1 3
    2 2 1

  2. #2
    Shura is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2014
    Posts
    2
    Well, after some tinkering I managed to figure it out.
    I built a query and removed the relationships between the tables (Trainee, Machine, Grading) and just had the query run using the ID from each of these tables. That generate the full list of possible combinations. I hope this manages to help someone!

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

Similar Threads

  1. Replies: 18
    Last Post: 06-19-2013, 10:58 AM
  2. 'Mapping Table' query including all combinations
    By rewritable in forum Queries
    Replies: 2
    Last Post: 06-09-2012, 04:34 PM
  3. Need a query to figure all possible combinations
    By julestrip in forum Queries
    Replies: 1
    Last Post: 05-27-2011, 07:23 AM
  4. Query for All Possible Combinations
    By Rawb in forum Queries
    Replies: 1
    Last Post: 10-09-2010, 08:33 PM
  5. Multi-Query List Box Combinations?
    By BizIntelGuy in forum Access
    Replies: 3
    Last Post: 07-20-2010, 03:20 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