Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2010
    Posts
    22

    Master/Child between Subforms


    Let’s say that A is the mainform. B and C are subforms each within A. Neither B nor C are subforms within the other. Is it possible to create a Master/Child relationship in which a field within B is the Master and a field within C is the child?
    If so, is it possible to accomplish this if both B and C are displayed in Datasheet view?
    Thanks,
    Justin

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by Pilotwings_64 View Post
    Is it possible to create a Master/Child relationship in which a field within B is the Master and a field within C is the child?
    NO. why would you ever want to do this anyway?

  3. #3
    Join Date
    Aug 2010
    Posts
    22
    GalaxiomAtHome from Microsoft Access Help Center (http://www.access-programmers.co.uk/forums) offered this solution.

    Place a textbox on the mainform with the control source as the subform field you want as the Master (=Forms!mainform.subformB.Form.fieldname). Then set this textbox as the MasterLinkField of the other subform control.”

    I tried, this and it linked the text box to the desired field in subform B but I can’t find a way to link subform C to that text box using a master/child relationship.

    Does anyone know how I can complete this final step?

    Thanks again,
    Justin

  4. #4
    Join Date
    Aug 2010
    Posts
    22
    mike60smart at UtterAccess.com walked me through the process. The thread has the same name as this one (maybe I named it Parent/... instead of Master/...).

    Basically, I just had to do the master/child linking in the properties panel, by tying the links in, since the dialog box and dropdown menu were not offering me the option of selecting any of the text fields linked to subforms.

    Hope this helps anyone with the same problem.
    Justin

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

Similar Threads

  1. Parent/Child Append Question
    By davidson12 in forum Access
    Replies: 6
    Last Post: 01-15-2015, 08:15 PM
  2. Child/Parent relationship
    By ErnieS in forum Forms
    Replies: 1
    Last Post: 08-20-2010, 01:22 PM
  3. Calculation using Child and Parent
    By SamanthaSamuels in forum Reports
    Replies: 3
    Last Post: 08-17-2010, 11:07 AM
  4. Replies: 0
    Last Post: 05-26-2010, 05:46 PM
  5. Parent/Child subform
    By Jerry8989 in forum Forms
    Replies: 1
    Last Post: 09-18-2009, 07:27 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