Setting Code to execute when user changes records

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

Guest

I want to execute line of code whenever the user navigates records. For example: If the user moves from record 1 to record 2 navigation buttons, then the code would fire. If the user then navigates from record 2 to record 3, the code would fire again. What event could I embed the code into, as there is no guarentee which command or textbox will have focus when the user navigates records?
 
That is what the OnCurrent event is for. It executes when the focus moves
from one record to another.

Rick B

I want to execute line of code whenever the user navigates records. For
example: If the user moves from record 1 to record 2 navigation buttons,
then the code would fire. If the user then navigates from record 2 to record
3, the code would fire again. What event could I embed the code into, as
there is no guarentee which command or textbox will have focus when the user
navigates records?
 
Thank you. I always appreciate the quick and professional responses from other MSDN users.
 
Back
Top