I have a mainform which I want to set up as a user interface. There are no options on this form other than buttons created to open other forms. I've created the forms and they all work if I simply want to open them over the top of the main form, but what I would like to be able to click on the 'menu' item buttons to change the central subform in the body of the screen.
Any body any ideas how this can be done? I tried several codes:
Attempt 1
Attempt 2
But these just gave me errors, so either I've missed something like setting variables, or there's another way of doing this.
Any help would be appreciated.
Thanks
Pezzini
Any body any ideas how this can be done? I tried several codes:
Attempt 1
Code:
me.subfrmcontrol.sourceobject = "formname"
Code:
With Me.subformcontrol
.LinkChildFields = ""
.LinkMasterFields = ""
.Form.Requery
EndWith
Any help would be appreciated.
Thanks
Pezzini
Comment