Depending on which button I click, I will swap the sourceobject of the subform control.
So clicking the button for frmExample, i would do:
Expand|Select|Wrap|Line Numbers
- subFrmControl.SourceObject="frm_Example"
I realise I could also just load all the various subforms, and then either put them in a page tab control, or show/hide them when people click the buttons.
However, this aproach means that the frontend only "retrieves" the Data from the backend for the subform the user wants to see, which can save a bit of time for people on a slow connection.