View Single Post
  #2  
Old January 15th, 2005, 06:17 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default

AutoRepeat does work, but as you found it does not work for a change of
record.

One workaround is to place the nav buttons in an unbound subform. Naturally
the code has to be changed so that it changes record in the main form, but
IIRC that allows the AutoRepeat to do its thing.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"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