Next Record Button

G

Guest

I have a button on a form which when pressed moves to the next record. Is
there some coding I can use behind the button that will continuously move to
the next record as long as the user holds the button down with their mouse?
Right now I can only move one record at a time.

Thanks

Kevin D.
 
S

Stephen Lebans

You have to place your Nav Buttons on a SubForm control. See:
http://www.lebans.com/recnavbuttons.htm
A2KRecordNavigationButtons is an MDB containing code to replace the standard
Navigation Buttons. The custom buttons exactly emulate the standard
navigation bar including the autorepeat property. A2K or higher! Modified by
MVP Graham Mandeno to work properly with multiple SubForm configurations.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
G

Guest

Stephen,

I exported the NAVButtons Form to my Database and made it a subform in my
records form. The navigation works beautifully, but it doesn't display the
current record or the total number of records, the boxes are blank. How do I
fix this?

Thanks

Kevin D
 
G

Guest

Srephen,

What code can I add to the Next and Previous Buttons to keep the focus on a
certain field (ItemNum) as I move between records if this field had the focus
immediately before the buttons are pressed?

Thanks

Kevin D
 

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