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.

Subform Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jenny Lee - 30 Mar 2005 02:40 GMT
I have a main form with a subform in it the main form contains a close
command button. The trouble is that I can close the form without any data
in the subform, so I want have an error message to say that the subform
details must be entered before closing and then set the focus back to the
subform. Any Ideas?
Steve - 30 Mar 2005 03:20 GMT
Do you think

if Me.Dirty=False then...  ?

might work?

Steve

> I have a main form with a subform in it the main form contains a close
> command button. The trouble is that I can close the form without any data
> in the subform, so I want have an error message to say that the subform
> details must be entered before closing and then set the focus back to the
> subform. Any Ideas?
 
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.