Results 1 to 6 of 6
  1. #1
    zozzz is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    49

    Referencing subform on navigation form

    hello friends ,

    I have a main Navigation called "Main_N1"
    and sub Navigation called "Sub_N1"
    and form called "Form1" with "Form1_sub"



    vba code in Normally case :

    Code:
    Private Sub Cmd4_Click()
    DoCmd.GoToControl "Form1_sub"
    Forms.form1.Form1_sub.Form.Fname.SetFocus
    End Sub
    but how can I write this code for navigation Form ???

    Navigation.zip

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Navigation forms are not commonly used by members on this forum. It is far easier to create your own "Main Menu", a form which controls everything else. Then all forms are treated as forms/subforms, without this interference.

  3. #3
    zozzz is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    49
    in fact, There is no way?

  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Don't know.

  5. #5
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,741
    Point is, Zozzz, we've all found out the hard way that an Access Navigation Form setup delivers a devilish level of complexity when trying to customize it. That messiness does not exist if you create your own navigation form from scratch. If you want the tabs at the top, you can use a tab control and put the subforms on the tabs. We all know how to do that and you will get plenty of help here if you go that route.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    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. Replies: 2
    Last Post: 07-10-2016, 01:53 PM
  2. Replies: 3
    Last Post: 10-30-2014, 03:34 PM
  3. Replies: 12
    Last Post: 10-23-2014, 02:08 AM
  4. Replies: 3
    Last Post: 03-29-2013, 02:36 PM
  5. Replies: 8
    Last Post: 02-04-2013, 11:32 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