Macro calling a Tab

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

I have a macro to click a hyperlink to a form if active. However I need to
the macro now to open a specific "tab" in that form. Here's what I got and
it don't work...

Macro Name Condition
Action
Edit : On Click
RunCommand
Not IsNull([ID]) And [Status]<>"Closed" OpenForm

::::
RunCommand -
Command: SaveRecord

OpenForm -
Form Name: MainMenu.TabCtl0.Pages.Item(2)
View: Form
Filter Name: Where Condition: = "[ID]=" & [ID]
Data Mode:
Window Mode: Normal

:::::

In the Form Name dialog I'm trying to call the page (tab) in the form
MainMenu. Any ideas???

Thanks
 
Bill,

I think you will need to use the OpenForm action, followed by a GoToPage
action.
 
Back
Top