Question : Access 2003 Macro Question:  How to set focus to a specific tab on a tab control within an existing macro?

Question: I am trying to edit an existing Access database macro to include a new item.
I did not create it, and I am not sure how to add to it.
The macro itself appears not in raw code, but in a screen that lists all macros associated with the form.  Here is what is shown:

Macro Name                                  Action
CreateNewContact: On Click        GoToRecord

There is only this one action currently in this macro.
The details for the GoToRecord are as follows:
Object Type:  Form
Object Name:  Contacts
Record:  New

So, currently, when the macro runs, it will place you on a new record in the contact form.

This is what I want, but in addition to this, after placed on the new record, I want to place the user on a specific page on a tab control.

What do I need to add to place them on the page I want in the tab control?

Answer : Access 2003 Macro Question:  How to set focus to a specific tab on a tab control within an existing macro?

Ahhh, I solved this myself.  In case others need to do this:
Just add an additional row beneath the previous action.
Select "GoToControl", and then type in the TabPage name in the control text box.
Random Solutions  
 
programming4us programming4us