Results 1 to 2 of 2
  1. #1
    McArthurGDM is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    215

    Reference Control on Subform Problem

    Hi,



    I have a Tabbed structure for a main form.

    The way I currently reference controls is

    Forms!MainNavigation.NavigationSubForm.Forms![Control]

    As you switch tabs, you can keep using this method despite being, technically, on separate forms. This is because that NavigationSubForm is all one giant control.

    However, I now have a subform on a form. (particularly a Multiple Items form). I am trying to reference this form. This form is called "SearchFormInfo".

    I have no idea how to reference a control on this subform.

    Here is a picture to help illustrate.

    Click image for larger version. 

Name:	FORM.jpg 
Views:	9 
Size:	165.3 KB 
ID:	19676

  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
    Are you saying this subform is on the navigation form?


    On a normal form/subform, would be like:

    =[subformcontainername].[Form].[Control]

    or

    =[subformcontainername]![Field]


    I don't like and never used navigation form because they make this harder.

    So I will take a guess:

    Forms!MainNavigation.NavigationSubForm.subformcont ainername.Form.controlname
    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. Make subform control reference with a string
    By dcdimon in forum Programming
    Replies: 2
    Last Post: 04-01-2014, 02:24 PM
  2. Replies: 3
    Last Post: 10-07-2013, 12:27 PM
  3. Replies: 1
    Last Post: 05-12-2011, 02:25 PM
  4. form/subform reference problem
    By dbertanjoli in forum Forms
    Replies: 1
    Last Post: 01-10-2011, 03:31 PM
  5. Can't reference control in subform
    By evanscamman in forum Forms
    Replies: 0
    Last Post: 12-25-2007, 06:47 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