Results 1 to 2 of 2
  1. #1
    silbi is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2016
    Posts
    2

    Navigation forms DoCmdBrowse

    Hallo,




    I’ve problem with the new navigation functionality in Access 2010.


    My database is an administration tool for trainees, where I collect all the performance data of all trainees. There are 3 access roles for the tool. For this example I explain the role of the trainee coach.

    ...continuing in my attached document (zipped pdf), where you can also see screenshots for better explanation.

    silbi



    Access2010_DoCmdBrowse.zip

  2. #2
    silbi is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2016
    Posts
    2
    Hallo,

    I’ve a problem with the new navigation functionality in Access 2010.
    My database is an administration tool for trainees, where I collect all the performance data of all trainees. There are 3 access roles for the tool. For this example I explain the role of the trainee coach. He should have only access to the navigation tab “Abteilungen”, because there he can enter the performance data of each single trainee, which has worked in his department.
    The database has not the final look, because in the programming phase I want to see all the changes.
    It starts with the login screen. Mr. Müller is a trainee coach, enters the password and clicks “OK”.

    Click image for larger version. 

Name:	Login screen.jpg 
Views:	12 
Size:	172.5 KB 
ID:	24281

    1: Login screen

    What should happen? All tabs, except the tab “Abteilungen” should be inaccessible. Within the tab “Abteilungen” the trainee coach should see his form to enter the data.

    Click image for larger version. 

Name:	data entering screen for trainee coach.jpg 
Views:	12 
Size:	193.5 KB 
ID:	24282
    2: data entering screen for trainee coach

    What happens? All tabs, except the tab “Abteilungen” are inaccessible (good). The focus seems to be on tab “Abteilungen” (red marked). But there is always the form of tabs “Grunddaten | Auszubildende” visible and not the data enter form for the trainee coach.

    Click image for larger version. 

Name:	data entering screen for trainee coach with wrong form.jpg 
Views:	12 
Size:	161.9 KB 
ID:	24283
    3: data entering screen for trainee coach with wrong form

    Attached I will show you my draft with all the names and captions:


    Click image for larger version. 

Name:	screen.jpg 
Views:	12 
Size:	252.1 KB 
ID:	24284
    Pay attention: Within the tab “Abteilungen” I have no second row of tabs!

    And here is my code after checking username and password, determine the user role and making all the other tabs inaccessible:

    DoCmd.BrowseTo ObjectType:=acBrowseToForm, _
    ObjectName:="frmLeistungenAbteilung", _
    PathToSubformControl:="frmNavigation.Navigationsun terformular>frmLeistungenAbteilung.frmLeistungenAb teilungUnterformular", _
    WhereCondition:="", _
    Page:="", _
    DataMode:=acFormEdit

    I’m pretty sure, that my problem is to define the right PathToSubformControl.

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

Similar Threads

  1. Replies: 3
    Last Post: 03-23-2016, 12:45 PM
  2. Navigation Buttons for Forms within Forms
    By Bkper087 in forum Access
    Replies: 1
    Last Post: 01-26-2015, 07:41 PM
  3. What is the Best Way to Design Navigation Forms?
    By CiViCChiC79 in forum Forms
    Replies: 5
    Last Post: 03-12-2014, 04:32 PM
  4. Forms Navigation Bar on every form
    By dhogan444 in forum Forms
    Replies: 2
    Last Post: 12-03-2012, 06:19 PM
  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