Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / July 2007

Tip: Looking for answers? Try searching our database.

command button to a new form in same window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy Yang - 16 Jul 2007 23:02 GMT
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!
Allen Browne - 17 Jul 2007 02:43 GMT
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"

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>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!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.