Im using a subform control on my main form.
Depending on which button I click, I will swap the sourceobject of the subform control.
So clicking the button for frmExample, i would do:
Is there any "danger" in doing this?
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.
Depending on which button I click, I will swap the sourceobject of the subform control.
So clicking the button for frmExample, i would do:
Code:
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.
Comment