command button to a new form in same window

A

Andy Yang

I need help in creating a command button that will open a different
form in the SAME window. I know how to create a button that will open
a form in a DIFFERENT window, but not in the same window. Is that
possible?
help would be much appreciated! thanks!
 
A

Allen Browne

That's not practical, Andy.

If it's absolutely crucial, you could create a form that has a subform
occuping its whole height and width. Then change the SourceObject of the
subform control in code, e.g.:
Me.[MySub].SourceObject = "Form12"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top