How to Open a Form in a Subform Window

  • Thread starter Thread starter carverk
  • Start date Start date
C

carverk

Hello, all

I'm looking for a way to do the following:

I have a Form with Aprox. 8 Command buttons that open various forms.
Also on this for is an Unbound Subform. What I would like to do is
the following:

User Clicks on one of the Buttons to open a form, and the form will
open in the subform window, Not open in a new window. Then if user
clicks on another button, the contents of the subform will change
to the form that the user clicked.

Can anybody help on this?

Keith
 
Set the SourceObject property of the subform control to the name of the form
you want there.

Example:
Me.frmGeneric.SourceObject = "SomeForm"
 
Back
Top