n00b question. Button won't UNPRESS?

Ecron

Registered User.
Local time
Yesterday, 21:29
Joined
Aug 31, 2006
Messages
58
Hello.

So, basically I have an input form. I disabled pretty much all of the controls and instead of using the left and right arrow buttons I wanted to create my own ones to go to the next record. What happens is that the button pushes down, but doesn't unpush. And then if i push it again it pops back up.

This is what is in it, as far as code goes for my button:
DoCmd.GoToRecord , , acNewRec

... so, yah. It seems kind of idiotic, but i hope someone can tell me what's up because it's really annoying!

Thanks!
 
Should like you used a "Toggle Button" not a "Command Button". I think you can change the button by right-clicking on it in design view and morphing it to command button. Otherwise, you need to make sure you add a command button, not toggle buttons from your form.
 
Hah.

Yes! You're right. Damn, you're awesome.

Thanks a bunch!...

You could only imagine the trouble I having trying to get that button to work right.:cool:

Thanks again!!!!!
 

Users who are viewing this thread

Back
Top Bottom