Using Command Buttons to show/hide subforms on a Form
Posted on 2008-11-04
I have a form, called FormA, with subforms: SubFormB1 and SubFormB2. Here is what I would like to do:
I would like to have two buttons, ButtonB1 and ButtonB2 on the FormA. When pressed, they would open the respective Subforms. So, when I push ButtonB1, SubformB1 would open.
The only catch is: these buttons reside on FormA always. The subforms open on FormA. So the buttons would open and hide the other subform.
To possible give a better visual, I imagine this to be (somewhat) like a webpage (FormA) with navigation links along the side (ButtonB1 and ButtonB2) that open contens in a frame (SubFormB1 and SubFormB2) without changing the overall page itself (FormA)
Any help is greatly greatly appreciated.