Results 1 to 6 of 6
  1. #1
    disnrub is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    3

    Presentation Issue with 3 Forms Opening on DB Initiation

    I have a database my office uses to track cases. I had it opening to a Navigation Form, which had 3 other forms on it (CROLOG Input, CDI Input, and Reports.) My new boss wanted the input forms filtered to show only open cases. As the Navigation Form is not linked to a table or query, the filter could not be applied to that form. So, I filtered the input forms directly, and built a macro to open all three forms when the database is opened.



    My problem is I want the form tabs to appear in the order above (CROLOG first, CDI second, and Reports third, as that is how the office has been viewing the DB since inception), and have the CROLOG Input form the one that is initially visible. In the macro, if I put the OpenForm commands in that order, the Reports form is the one visible. Is there a command I can add after DoCmd.OpenForm "Reports" that will then "click" back to the CROLOG Input form? (I’m just trying to make this update as seamless for the office as possible.)

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Selecting any control on the tab you want will pop that tab open for you.

  3. #3
    disnrub is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    3
    I am not a programmer, so am using the Macro Action Catalog. The only command I see that seems relevant is “GoToControl” with the definition, “Moves the focus to a specified field or control on the active datasheet or form.” Since the CROLOG Input is not the active form, I don’t know how to make it work. I do know how to convert the macro to VB, so could insert the line of programming I need if you could tell me what it is. Thanks for your help!

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Every control on *all* the tab pages has a unique name. Just select the name of a control on the tab you want with the command you found and it should work. If not, just post back and we'll get it to work.

  5. #5
    disnrub is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    3
    So, I was making this way too complicated. All I had to do was add another step in the macro to open the Crolog Input form, which brought it to the front. But, thanks for your help anyway!

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Excellent! Glad to hear you got it working.

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

Similar Threads

  1. Issue w/ VBA code for Opening/Closing Forms
    By need_help12 in forum Forms
    Replies: 5
    Last Post: 04-20-2012, 11:09 AM
  2. Horizontal presentation
    By cacabanga in forum Access
    Replies: 4
    Last Post: 02-11-2012, 07:18 PM
  3. PivotChart presentation
    By wharting in forum Forms
    Replies: 5
    Last Post: 08-25-2011, 11:07 PM
  4. opening access file issue
    By Masterkui in forum Access
    Replies: 3
    Last Post: 07-26-2011, 06:25 AM
  5. Access opening issue
    By tmcrouse in forum Database Design
    Replies: 1
    Last Post: 07-23-2010, 08:06 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