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 Programming / March 2005

Tip: Looking for answers? Try searching our database.

Command button for subform on main form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tony Williams - 15 Mar 2005 19:58 GMT
I have a form with a subform. I want to put a Cancel command button on the
main form that undoes the data entered in the subform in the event that the
user changes their mind. I don't want to undo the data in the main form
though, just the subform. I have got round this by putting the command
button on the subform but it is confusing to have the buttons in different
places, I already have a close button on the main form. Is this possible?
Thanks
Tony
Rick B - 15 Mar 2005 19:59 GMT
I would think when you go to click the button on the main form, that your
subform would lose focus, and your changes would be saved.  By the time you
click the button, it is too late to cancel the changes since they are
already saved.

Just my opinion, but I would either 1)hit ESCAPE or 2)put the button on my
subform.  Option 1 is the one I normally use.

Rick B

> I have a form with a subform. I want to put a Cancel command button on the
> main form that undoes the data entered in the subform in the event that the
[quoted text clipped - 4 lines]
> Thanks
> Tony
Tony Williams - 15 Mar 2005 20:23 GMT
Thanks Rick. I'll investigate the ESCAPE key suggestion.
Tony
> I would think when you go to click the button on the main form, that your
> subform would lose focus, and your changes would be saved.  By the time you
[quoted text clipped - 15 lines]
> > Thanks
> > Tony
 
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



©2008 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.