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

    Referencing a Subform Control on a Navigation Tab page

    So, I have a Main Navigation page.



    I have a subform with controls in it.

    I want to reference those controls in query.

    I try this

    forms![MainNavigation]![NavigationSubform].

    But it wont let me choose my actual subform.

    How do I do this?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    you missed a 'form'. Use the BUILDER to get the full paths.

    forms![MainNavigation]!NavigationSubform]!forms.control

  3. #3
    McArthurGDM is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    215
    The name of my navigation form is MainNavigation

    The subform is named SearchMain


    the control on SearchMain is IssuingAgency


    I can't seem to get it to work.

  4. #4
    McArthurGDM is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    215
    [forms]![MainNavigation]![NavigationSubform].[Form]![IssuingAgency]

    This works.

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

Similar Threads

  1. Replies: 6
    Last Post: 02-23-2014, 05:53 PM
  2. Replies: 3
    Last Post: 03-29-2013, 02:36 PM
  3. Replies: 3
    Last Post: 02-15-2013, 03:36 PM
  4. Replies: 8
    Last Post: 02-04-2013, 11:32 AM
  5. VBA Referencing Subform Control Error 2465
    By Jester0001 in forum Programming
    Replies: 3
    Last Post: 05-30-2012, 07:31 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