View Single Post
  #2  
Old February 26th, 2010, 01:57 AM posted to microsoft.public.access.forms
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Event of closing a form or navigating away

On Fri, 26 Feb 2010 01:10:38 GMT, "guangdew via AccessMonster.com"
u58044@uwe wrote:

I need to use some code to update some tables after entering a new record or
editing an existing record. I need to know what event I should use. I know
after entering a new record, we can navigate away from current record, or the
form can be closed. I don't what else can happen to get away from current
record. Please give me some suggestions regarding how we should catch these
events.

Thanks in advance,

Guangdew


The Form's BeforeUpdate event will be executed when the user takes any action
which would save the record, and it can be cancelled by setting its Cancel
operand to True.
--

John W. Vinson [MVP]