Results 1 to 7 of 7
  1. #1
    Calluna is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2014
    Posts
    3

    Newb Question

    Hi, so I am very new to Access (as in decided last week I was going to create my own database). I run a mentoring program and need a database to keep track of our participants (our excel sheet was out of control). So far I've been able to figure most things out on my own. I have two tables "Mentor_Data" and "Youth_Data" both with corresponding forms "Mentor_App" and "Youth_App". On those tables/forms I have a field for "Mentor_Name" and "Mentee_Name". What I would like is to be able to enter a name in the "Mentor_Name" field on the "Youth_App" form and have the corresponding "Mentee_Name" fill in automatically on the "Mentor_App" form. Is this possible?

    Thanks!

  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,770
    Don't understand what you want. Why would you need to select mentor on youth form and have that feed over to mentor form?
    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.

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I understand what you want, but I'm not sure the structure is right. Can a mentor only ever have one mentee, and vice-versa? I would lean more towards a junction table that would accommodate multiples, perhaps with dates to hold the history.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    Calluna is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2014
    Posts
    3
    I figured out what I wanted. I have a tendency to over complicate things. So now I have two tables [Youth_Data] and [Matches]. I would like to make it so whenever I add a new record to [Youth_Data] in the "Youth_Name" field that it will make a record with the same name in the "Mentee_Name" field of the [Matches] table.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Try form/subform arrangement.

    Main form bound to Youth_Data.

    Subform bound to Matches.

    The subform container control Master/Child Links properties will synchronize the related records by linking on the youth ID primary/foreign key fields.

    Enter new record in main form.

    Select mentor in subform form. The mentee ID will automatically populate.

    Other options:

    1. one form bound to Matches with two comboboxes to select mentor and mentee.

    2. main form bound to mentors table, subform bound to Matches with a combobox to select mentee
    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.

  6. #6
    Calluna is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2014
    Posts
    3
    Thank you so much! A subform worked perfectly for what I needed. Because all mentees only have one mentor but some mentors have two mentees (we run two different programs). So now I have a nice "snapshot" of the Matches table on each person's form. Thanks!

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Then I am not sure you need the Matches table.

    Could document the assigned mentor with a field in mentee table. Unless you want a history of assignments. If mentor assignments are changed, is that change important to document?
    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. Very Newb question on hyperlink
    By skim464 in forum Access
    Replies: 1
    Last Post: 04-01-2014, 09:20 AM
  2. Newb Question
    By Jesse_Munos in forum Import/Export Data
    Replies: 11
    Last Post: 05-12-2012, 03:33 PM
  3. Newb question
    By blkdragon201 in forum Access
    Replies: 5
    Last Post: 02-03-2011, 02:17 PM
  4. This is probally a newb question
    By tdanko128 in forum Queries
    Replies: 4
    Last Post: 01-30-2011, 12:24 PM
  5. Newb Question
    By smokeyvol in forum Access
    Replies: 0
    Last Post: 01-14-2009, 08:28 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