+ Reply to Thread
Results 1 to 3 of 3

Can Access Follow the Trail of People in a Database?

  1. #1
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Minnesota
    MS-Off Ver
    Office 365
    Posts
    163

    Can Access Follow the Trail of People in a Database?

    I have a growing database of currently around 700 entries where I'm record the link between 2 people. For example, column 1 is auto number, then next three columns are Person 1, Relationship to Person 2, Person 2.

    I have a query where I can input a person's name and it will show me the results if that person is in either "Person 1" or "Person 2" columns. There are a lot of different family and friend relationships here though, so is it possible to have Access return every person associated with the name I put in by following links backwards? For example:

    Record 1: John Doe | Parent | Jim Doe
    Record 2: Jim Doe | Friend | Eric Smith
    Record 3: Eric Smith | Child | Henry Smith

    Is there a way to have Query John Doe and have Access show me that John Doe is linked to Jim Doe, Eric Smith, and Henry Smith?

    If not, do you know of a program that can do this?

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Can Access Follow the Trail of People in a Database?

    You can do t with SQL server using a recursive CTE, the express edition is free. I think you’d need to use VBA to do this in Access. Have a search for building org chart/hierarchy in access, that’s what you’re doing and it’s quite a common requirement

  3. #3
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Minnesota
    MS-Off Ver
    Office 365
    Posts
    163

    Re: Can Access Follow the Trail of People in a Database?

    Thank you much

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Reasons why people didn't follow up on posts
    By tony h in forum Suggestions for Improvement
    Replies: 12
    Last Post: 02-16-2016, 03:32 PM
  2. copy data from one access database to another access database
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2014, 09:03 AM
  3. Replies: 2
    Last Post: 07-05-2013, 09:37 AM
  4. Access Forms for people who have Access
    By jghender in forum Access Tables & Databases
    Replies: 1
    Last Post: 06-26-2013, 08:50 PM
  5. [SOLVED] Cant get extra columns to follow database when refreshing
    By Dj Duck in forum Excel General
    Replies: 14
    Last Post: 03-26-2012, 07:48 PM
  6. Creating Audit trail of all edits to database
    By Reema in forum Access Tables & Databases
    Replies: 5
    Last Post: 10-03-2011, 08:23 PM
  7. Replies: 2
    Last Post: 03-08-2006, 04:45 PM

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1