Default of a button

Dave31

Registered User.
Local time
Today, 17:17
Joined
Oct 11, 2006
Messages
68
Hi there

I have a form that should allow data to be carried over to another form. I have a toggle button that once pressed, will allow me to do this. As most of the time i will need the data to be carried over, but occasionally, i wont. Is it possible to set the default of this toggle button as 'pressed' (so it looks like the toggle button has been pressed when you load the form)?

Thanks in advance :)
 
In the Forms Current event put

Me.ToggleButtonName = -1

The will reset the button to "depressed" when you goto a new record.

If you only want the button depressed when the form opens, put it in the forms load event.

Dave
 
Last edited:
Perfect - Thanks ::)
 

Users who are viewing this thread

Back
Top Bottom