Results 1 to 3 of 3
  1. #1
    offie is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    176

    Navigation Forms and paths? (Nav Form within Nav Form)

    I have a navigation form, with abother navigation form inside of it. Looks like:
    Click image for larger version. 

Name:	Capture.PNG 
Views:	15 
Size:	25.3 KB 
ID:	12869



    I am having a hard time coming up with the path name for the text boxes and checkboxes

    I read somewhere that is does not matter if there is a navigation form as a subform, and that it still counts as a subform so I tried to enter:

    Like IIf([Forms]![Navigation Form]![NavigationSubform].[Form]![4Check]=True,"4*",Null)
    Or Like IIf([Forms]![Navigation Form]![NavigationSubform].[Form]![MCheck]=True,"M*",Null)
    Or Like IIf([Forms]![Navigation Form]![NavigationSubform].[Form]![JCheck]=True,"J*",Null)
    Or Like IIf([Forms]![Navigation Form]![NavigationSubform].[Form]![SCheck]=True,"s",Null)
    Or Like IIf([Forms]![Navigation Form]![NavigationSubform].[Form]![QCheck]=True,"Q*",Null)
    Or Like IIf([Forms]![Navigation Form]![NavigationSubform].[Form]![ECheck]=True,"E*",Null)

    Between [Forms]![Navigation Form]![NavigationSubform].[Form]![FYFrom]
    And [Forms]![Navigation Form]![NavigationSubform].[Form]![FYTo]


    But when I ran that, the queries came up empty with no parameter promt so I'm assuming something is wrong with the paths. How do I refer to these items?

    Thanks!
    Last edited by offie; 06-26-2013 at 06:47 AM.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Does this help https://www.accessforums.net/forms/t...orm-32053.html

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

  3. #3
    offie is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    176
    Actually no but I figured out how to find the path of a navigation form inside a navigations form

    Between [Forms]![Navigation Form]![NavigationSubform].[Form]![NavigationSubform].[Form]![FYFrom]
    And [Forms]![Navigation Form]![NavigationSubform].[Form]![NavigationSubform].[Form]![FYTo]

    Because in the subform/form there is another subform.form that has to be refrenced

    Edit:
    Also, to refresh in vba
    [Forms]![Navigation Form]![NavigationSubform].[Form]![NavigationSubform].Requery

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

Similar Threads

  1. Sync Sub Forms on Navigation Form
    By moirakalichman in forum Programming
    Replies: 15
    Last Post: 03-03-2013, 02:01 PM
  2. Forms Navigation Bar on every form
    By dhogan444 in forum Forms
    Replies: 2
    Last Post: 12-03-2012, 06:19 PM
  3. Navigation Forms and Filters
    By Trichmond in forum Forms
    Replies: 2
    Last Post: 10-10-2012, 03:26 PM
  4. Carrying data throughout Navigation Forms
    By drrob1983 in forum Forms
    Replies: 2
    Last Post: 09-06-2011, 12:57 AM
  5. Replies: 1
    Last Post: 01-04-2011, 05:04 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