G
Guest
I have a form with tabs for some subforms. On the main form I have buttons
to do certain actions on the subforms. I would like to have some VBA code
that would "hide" the buttons that don't apply to the subforms on that tab.
So if page(0) is active on the tab form then button PPDNEW would be hidden.
If page(1) is active then button PPDNEW is visible and HEPNEW is hidden.
I have tried all sort of things on the TAB forms or the ON CURRENT event of
the main form.
TIA
Vanya
to do certain actions on the subforms. I would like to have some VBA code
that would "hide" the buttons that don't apply to the subforms on that tab.
So if page(0) is active on the tab form then button PPDNEW would be hidden.
If page(1) is active then button PPDNEW is visible and HEPNEW is hidden.
I have tried all sort of things on the TAB forms or the ON CURRENT event of
the main form.
TIA
Vanya