Run macro on next / previous navigation buttons?

G

Guest

Hi,

I’m trying to get a macro to run from an event in a form. If I set it up to
run on double-click it works just fine. But what I want to do is have the
macro run when I click on the next record or previous record navigation
buttons at the bottom of my form. I can’t find a way to do this on the form
properties. Any suggestions?
 
J

John W. Vinson

Hi,

I’m trying to get a macro to run from an event in a form. If I set it up to
run on double-click it works just fine. But what I want to do is have the
macro run when I click on the next record or previous record navigation
buttons at the bottom of my form. I can’t find a way to do this on the form
properties. Any suggestions?

The form's Current event fires when you move to a different (or new) record.

John W. Vinson [MVP]
 
F

fredg

Hi,

I¢m trying to get a macro to run from an event in a form. If I set it up to
run on double-click it works just fine. But what I want to do is have the
macro run when I click on the next record or previous record navigation
buttons at the bottom of my form. I can¢t find a way to do this on the form
properties. Any suggestions?

Use the Form's Current event.
 

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