Results 1 to 2 of 2
  1. #1
    prost is offline Novice
    Windows 8 Access 2013 64bit
    Join Date
    Jul 2016
    Posts
    3

    Query all values that are directly or indirectly tied to an entry

    Hello -



    I'd like to write a query that does this:

    - I have a document that lists program names in one column, and the next column shows programs that are called by that program. These programs can then call more programs. This could loop for a while. I'd like to be able to input a program name (example, Program X) and then see that it calls, for example, Program Y, which calls program Z, etc. Also, Program X could call multiple programs (example Y1, Y2, Y3), which in turn each call multiple programs.

    See attached for an example data set. I want to be able to query one program name, and see every program that is then called. I don't need to see which program calls what: I just need to see that program X calls all these programs either directly or indirectly in one list. In my example, I would want see that if I query "AJ0124", the result would be:
    AJ0125
    AJ0126
    AJ309
    AJ310
    AJ311
    AJ401
    AJ400
    AJ401

    Thank you!
    Attached Files Attached Files

  2. #2
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,405
    Your attached file is an Excel spreadsheet. This forum deals with Microsoft Access issues. Have you developed an Access database with tables to hold the data you seek?

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

Similar Threads

  1. Replies: 1
    Last Post: 09-30-2013, 11:47 AM
  2. Replies: 3
    Last Post: 04-16-2013, 08:44 AM
  3. Subform tied to dropdown box?
    By BillC in forum Forms
    Replies: 13
    Last Post: 08-24-2012, 01:53 PM
  4. Query not working with Directly pasted Tables
    By GAccess in forum Queries
    Replies: 3
    Last Post: 06-25-2012, 09:29 AM
  5. Replies: 1
    Last Post: 08-13-2010, 10:10 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