What event fires on a form when the navigation buttons are used?

K

Ken Fayal

I'm trying to do some work on a form when a user presses the navigation
(forward, back, first, last) buttons. What events are fired when those
buttons are clicked?
 
B

Brian

Current event, but only because the user navigates to a different record. It
is the same whether he goes first, last, prior, or next.
 
K

Ken Fayal

Brian,
Thanks! This is perfect because I don't really care which direction they
go, just need to know when it happens. Thanks for the response.
 
B

Brian

Just remember, the Current event fires when it reaches the other record, not
when/before it leaves the prior one, so it does you no good BEFORE the user
navigates, only AFTER.
 
R

Ronald Roberts

Ken said:
I'm trying to do some work on a form when a user presses the navigation
(forward, back, first, last) buttons. What events are fired when those
buttons are clicked?
Check Help.
"Order of events for records on forms"

There are many events that fire depending on how the user got to
the click button. Such as did the user use the mouse or did he use the
tab key?

Ron
 
E

efandango

Hello Ronald,

Do you know how i can get an unbound combobox to clear user selected field
entry(not the underlying query list for the combobox) when a user uses the
Navigation Buttons?
 
C

Carl Rapson

If nothing else, the Form_Current event should fire when any of the
navigation buttons is used. You could clear your unbound combobox in that
event.

HTH,

Carl Rapson
 
Top