Results 1 to 4 of 4
  1. #1
    wodom is offline Novice
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2017
    Posts
    6

    Calling a control from one subform into another subform that do not share the same Parent form

    I have two forms frmSalvage with a record source of tblCAP and frmBag1 with a record source of tblBagSpec.

    frmSalvage has a subform frmDefectInfo with a record source of tblDefectInfo
    frmBag1 has a subform frmburstData with a record source of tblBursts
    tblDefectInfo (many)is related to tblCAp (one) and tblBursts (many) is related to tblBagSpec (one) and is also related to tblDefectInfo (one).

    When I open frmSalvage I have subform frmDefectInfo embedded in it. frmDefectInfo has a command button to open frmBag1 with subform frmburstData embedded in it.



    What I would like to do is when I use the command button to open frmBag1 I would like to have the [tblDefect].[ID] field populate the [tblBursts].[DefectInfoID] field, so that I can sort the data by defect Id
    Doc2.zip

  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
    Is this link what you need? http://www.baldyweb.com/wherecondition.htm

  3. #3
    wodom is offline Novice
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2017
    Posts
    6
    Yes, Thank you very much.

  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
    You're most welcome.

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

Similar Threads

  1. Replies: 2
    Last Post: 11-15-2017, 08:51 AM
  2. Replies: 1
    Last Post: 06-13-2015, 06:31 AM
  3. Replies: 6
    Last Post: 11-20-2014, 03:37 PM
  4. Replies: 2
    Last Post: 01-08-2013, 12:56 AM
  5. Problem using Parent/Child Form/Subform
    By EvanRosenlieb in forum Forms
    Replies: 4
    Last Post: 06-27-2011, 05:25 PM

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