Control Buttons

B

Bears&CubsFan

I have a form that has control buttons on it to run various queries. When I
open the database, the first control button is automatically running the
query. I do not have any properties set to automatically run anything on
open. Does anyone know why this is happening? Is there a way to turn it off?
 
A

Arvin Meyer [MVP]

Pushing the Enter key will usually act as a click on a button which has
focus. One thing that will work is to place a transparent button on the form
with no code. Set it's Tab Index to 0 so it is the first control to get
focus. The Enter key will not fire anything.
 
B

Bears&CubsFan

The "On Enter" properties field is blank. But I will try adding a hidden
control and see if that works. Thanks for your help.
 
Top