force a sequence of events

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My problem, If a user chooses to close a form before all the data is entered,
the form is closed, then is does it checks for form_before_update. This sub
will catch possible errors and alert the user, but after the alert is shown
the form is already closed. If the user was paying attention, they could go
back in and fix the errors. Can I make access perform the
"form_before_update" first before the form is closed, so I can abort the
close if there are errors?
 
Using Cancel = True in the before update event should stop update from
continue, so the form shouldn't close.
 
Back
Top