What event is for "Next Record"?

M

michaaal

What event do I use if I want to run msgbox("hello") when the user goes to a
different record (either the next one or any other one).

I thought it was Form Load, but that didn't seem to work.

I use Access 2003.

Help! Thanks!!
 
D

Dirk Goldgar

michaaal said:
What event do I use if I want to run msgbox("hello") when the user
goes to a different record (either the next one or any other one).

I thought it was Form Load, but that didn't seem to work.

I use Access 2003.

Help! Thanks!!

The form's Current event fires whenever a new record becomes the current
record.
 
A

Albert D. Kallal

The event likely you are looking for is on-current.

The after update event is also useful, as it fires if the user modified the
record, and then moves, or closes the form. Often, we only need to check, or
do something if the record was actually changed..so the before update, and
the after update are most useful.
 
M

Marshall Barton

michaaal said:
What event do I use if I want to run msgbox("hello") when the user goes to a
different record (either the next one or any other one).

I thought it was Form Load, but that didn't seem to work.

I use Access 2003.

The Form's Current event fires when a different record
becomes the current record.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top