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

    Question One to Many Relationship with a form and a table

    Hello,
    I cannot seem to figure out how to do this. I have created a database where I will track Agent's Contact Information and where we will track Transactions processed. I want to link each transaction to the appropriate agent and then on the Agent Record form, would like a list of their transactions. I know it has to do with relationships and subforms, but everything I have tried is not working.

    I have the Agent ID set up as the Auto-Number (long integer) and then I have a field in the Transaction Record with an Agent ID (as a number, long integer). I've created a relationship between Agent Record and the transaction record (Agent can have many transactions). Now I want to create a subform so that when I pull up the Agent's record, I can also see their transactions.

    Any help would be greatly appreciated.


    Thank you,
    Kristi

  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,772
    Main from bound to Agents, subform bound to Transactions, Master/Child Links properties of subform container control set to the associated PK/FK fields.

    If you want to provide db, follow instructions at bottom of my post.
    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
    Kristi is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jan 2015
    Posts
    3

    Here is the database

    EquityProfessionals2015Test.zip

    I hope this works. I know it's an easy thing, but I am drawing a blank.
    Thank you,
    Kristi

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    You have not created a form/subform arrangement. Can make TransactionTrackingF (or the table or a query or another form) a subform on AgentInfoF. https://support.office.com/en-US/Art...rs=en-US&ad=US
    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.

  5. #5
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    Hey Kristi, Make open up AgentInfoF and make a subform with TransactionTrackingF. Walk through the wizard, it worked perfect for me. You have everything set up correctly. Maybe you're not seeing that the TransactionTrackingF subform will only display 1 of many records at a time. You need to use the record selector at the bottom of the subform to scroll to the next Transaction that is related to the agent! Hope that helps!

  6. #6
    Kristi is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jan 2015
    Posts
    3
    Thank you so much! I did get it. I knew it was something small. hahahaha

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

Similar Threads

  1. GUI and Table Relationship help
    By karekarex in forum Access
    Replies: 1
    Last Post: 06-11-2013, 09:09 PM
  2. Table Relationship Help
    By JoshLewis in forum Database Design
    Replies: 1
    Last Post: 04-08-2013, 10:55 AM
  3. Replies: 2
    Last Post: 04-08-2012, 03:04 PM
  4. Relationship Table Help
    By Nick F in forum Database Design
    Replies: 5
    Last Post: 10-10-2011, 01:28 PM
  5. Replies: 0
    Last Post: 03-15-2010, 02:38 AM

Tags for this Thread

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