change record not an event?

E

elburze

is there an event on changing records on a form, or clicking on the next
record button? I want to write a code to recalculate some values as soon as I
change records.
 
D

Duane Hookom

Use the On Current event which triggers when a new record appears on your
form.
 
G

Graham Mandeno

There is a BeforeUpdate event which (for the form) is raised just before a
modified record is saved. This event is the one most often used to check
the overall validity of a record, or to enter calculated values before the
record is saved.

There is no event raised when an unmodified record loses focus, but
presumably you would have no recalculations to perform in this case.
 
Top