chewy,
One thing to understand (as we've all obviously confronted but not publicly acknowledged) is that Command Buttons native to a Bound form must 'reset'/'release' themselves upon moving off a particular record.
That means that by invoking the Click event and displaying a 'pressed-down' Command Button, Access can't move off the record until it gets visually 'released' back to its un-Clicked normal default state.
This is most obvious when you set the GoToRecord loop (infinite) in the Command Button's MouseDown event - it maniacally fluctuates between its 'de-pressed' state and its 'released/normal' state.
Realizing our limitation, we can deduce that when Mr. Gates and company developed Access, their built-in next/previous Navigation buttons were programmed to operate independently of the form's 'formatting' routines that run each time the Current record changes (i.e. - carrying over values in
unbound controls to the Next record, and conversely loading the appropriate field values into
bound controls for the relevant record).
An analogy to the built-in Nav buttons would be the {PageDown} and {PageUp} keys. Since holding down either of these keys doesn't visually impact a form's native Command Buttons, it doesn't interfere with the behind-the-scenes 'formatting' routines that Access carries out during Navigation, hence 'AutoRepeat' or 'record-cycling' is allowed for them.
The only 'true' solution that I can conceive of requires the use of API and is 2-fold:
- Render the properties of a standard Command Button so that its 'Pressed' state is not evaluated or initialized by Access when moving off a record
- Evaluate the state of the Left Mouse button (Up or Down) when triggered by a Click within the Command Button's boundaries[/list=1]I would offer the disclaimer that I've only just begun to get my feet wet in setting up API Declarations - total greenhorn as far as that goes.
Again, I'll keep you posted if I make a breakthrough or someone should lend their expertise with API towards this endeavor. If you're still looking for a 'quick'/'trick' solution, you should revisit the example db's referenced in previous responses to this post - based on what I see from your own attempts, you should be able to grasp what it is they're doing and tailor to your own needs.
Regards,
John