Results 1 to 4 of 4
  1. #1
    WesHarding is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jan 2017
    Posts
    60

    How does one populate a form with one-to-many data

    Hello,

    I have a continuous form that holds multiple pieces of data, by this I mean for example sometimes people have many phone numbers. I have all of their phone numbers to appear in one box in a continuous form or something similar.

    ie, how can I get this data to populate in a form? This is probably simple, but something I just never learned!



    Thanks!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Usually we handle 1:m relationships with a Form/SubForm arrangement. The phone numbers would be in a separate table with a field in each record for the PrimaryKey (PK) of the "people" table as a Foreign Key (FK). The SubForm would be bound to the "phone" table and the MainForm bound to the "people" table. Use the PK and FK as the LinkMaster/ChildFields properties of the SubFormControl.

  3. #3
    WesHarding is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jan 2017
    Posts
    60
    Wonderful! Very clear thank you. That does make sense when I think of it now

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Post back if you need additional assistance.

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

Similar Threads

  1. Replies: 7
    Last Post: 10-13-2016, 12:32 PM
  2. Replies: 3
    Last Post: 02-25-2015, 04:48 PM
  3. Replies: 63
    Last Post: 01-25-2013, 05:20 AM
  4. form data will not populate in table
    By bobsakamato in forum Access
    Replies: 1
    Last Post: 09-06-2009, 07:25 AM
  5. Auto Populate Data from Main Form
    By billiejean in forum Forms
    Replies: 0
    Last Post: 08-05-2009, 08:08 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