As Allen said, stick your CommandButtons on a SubForm. Sample code is
he
http://www.lebans.com/recnavbuttons.htm
RecordNavigationButtons is an MDB containing code to replace the
standard Navigation Buttons. The custom buttons exactly emulate the
standard navigation bar including the autorepeat property.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"John S. Ford, MD" wrote in message
...
I'm coding in Access 97. Because I needed to customize the way a
particular
form navigates through records, I created and coded my own record
navigation
buttons. This works fine except for one thing. I'd like them to
behave the
same way the "real" navigation buttons work when the user keeps one of
them
down: automatically repeating.
In the Acc97 help files, the Auto Repeat property of a command button
is
described. It is specifically stated that despite setting it to
"Yes", if
the event handler changes the current record, the Auto Repeat property
has
no effect. Well, they weren't lying!
Is there any way to get around this?
John