Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Auto Repeat Command Button If Mouse Held Down


Message #1 by "Mike Marcus" <mmarcus@n...> on Fri, 19 Apr 2002 14:12:13
Greetings,

I was sure this could be done.

My form has several control buttons that allow moving through a database. 
The buttons have VBA code that checks to see where we are in the recordset 
and enables and disables those controls as needed.

Users have asked for the ability to keep moving until the mouse is let go.

I have Auto Repeat Turned on in the buttons properties.

The command when the button is clicked is:

DoCmd.GoToRecord , , acNext

MS-Access (2002) Help tells me I can set routine in a form properties 
field (On Time) that will run per the form property (Time Interval), but 
this seems rather round about and more work than needed.

Any Ideas,
        Thanks,  Mike


  Return to Index