Results 1 to 9 of 9
  1. #1
    RichardAnderson is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    74

    How Do I: Auto Select NavigationButton?


    Hello guys,

    I have what I am hoping is something very easy. In fact, I am really hoping this is just a properties setting.

    I have a single row navigation form called 'Completed'. When the Completed tab is clicked (selected), a 2 row navigation form is shown. The top row is years and the bottom row is months. When the 'Completed' tab is clicked to show this 2 row form, it currently shows the first tab on the top row and the first tab on the bottom row. What I want to do is designate which top tab and which bottom tab is selected when it is opened. So today if it was opened, it would open to the top tab of 2013 and the bottom tab of Aug. The tabs that are automatically selected would change every month.

    Any help would be great.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Any chance you could post a picture?

  3. #3
    RichardAnderson is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    74
    Quote Originally Posted by RuralGuy View Post
    Any change you could post a picture?
    This first picture is the main form....
    Click image for larger version. 

Name:	Capture-Main.JPG 
Views:	11 
Size:	22.8 KB 
ID:	13449

    This next picture is with the 'Completed' tab selected.
    Click image for larger version. 

Name:	Capture-Main-Completed.JPG 
Views:	11 
Size:	20.7 KB 
ID:	13450

    You will notice that when you select the 'Completed' tab the tabs '2012' and Jan are automatically selected. What I need is to change the tabs that are selected when the form is open.
    So... If it worked the way I need, then when you click on 'completed', then the tabs 2013 and Aug would be the ones to be open.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Oh, *those* type on Navigation Forms! I've not been successful yet in dealing with them, sorry.

  5. #5
    pradeep.sands is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    49
    I haven't dealth with them till now...but I think reading the current year and month from system using the commands:
    Year(Now)
    Month(Now)
    and then referencing these values to the names in your form to activate them would work I guess..use some command like bringtofront (see access help for exact command)..
    this is just my thought..correct me if this is not the right method..

  6. #6
    RichardAnderson is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    74
    Quote Originally Posted by pradeep.sands View Post
    I haven't dealth with them till now...but I think reading the current year and month from system using the commands:
    Year(Now)
    Month(Now)
    and then referencing these values to the names in your form to activate them would work I guess..use some command like bringtofront (see access help for exact command)..
    this is just my thought..correct me if this is not the right method..
    I tried putting Year(Now()) And Month(Now()) into the criteria but it does not work.

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    If you want to post your db, maybe we'll play with it and all learn something about those Nav Forms.

  8. #8
    RichardAnderson is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    74
    Quote Originally Posted by RuralGuy View Post
    If you want to post your db, maybe we'll play with it and all learn something about those Nav Forms.
    It's too large.

  9. #9
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by RichardAnderson View Post
    It's too large.
    Even after you do a Compact and Repair and then ZIP it up?

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

Similar Threads

  1. Replies: 4
    Last Post: 08-18-2013, 07:40 PM
  2. Replies: 3
    Last Post: 06-09-2013, 05:35 PM
  3. Replies: 3
    Last Post: 01-24-2013, 08:16 PM
  4. Auto select value: form
    By Gilgamesh in forum Access
    Replies: 1
    Last Post: 12-20-2012, 10:50 PM
  5. When I select name code appear auto
    By miziri in forum Forms
    Replies: 0
    Last Post: 03-09-2010, 02:10 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