Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Dirty data over pages


Message #1 by "Dave Burdick" <burdickdave@h...> on Wed, 12 Mar 2003 18:44:22
I've got a form in Access 97 with multiple pages (tabs), with a subform on 
the second page.  When I enter data on the first page, then click the page 
2 tab, the data stays dirty, I would like to know if there is a function 
out there to automatically set dirty=false when the tab is clicked.  I can 
get the dirty=false action to perform on page2_click, but that would 
require the user to click on the actual page, not the tab.  Any help?  
Thanks.
Message #2 by "Bill Findlay" <findlay@t...> on Thu, 13 Mar 2003 14:42:55 -0500
Hi!

You may be able to issue a

DoCmd.RunCommand acCmdSaveRecord        ' Save the record

in the "click" event of the desired tab

Bill Findlay

>>> burdickdave@h... 03/12/03 06:44pm >>>
I've got a form in Access 97 with multiple pages (tabs), with a subform 
on
the second page.  When I enter data on the first page, then click the 
page
2 tab, the data stays dirty, I would like to know if there is a function=20

out there to automatically set dirty=3Dfalse when the tab is clicked.  I 
can
get the dirty=3Dfalse action to perform on page2_click, but that would
require the user to click on the actual page, not the tab.  Any help? 
Thanks.



  Return to Index