Command button to populate yes/no boxes

carlchapman

Registered User.
Local time
Today, 21:23
Joined
Jul 25, 2006
Messages
29
Hi,

I have a form with several yes/no boxes (set up as TRUE or FALSE in the table). I want to place a command button, that if i click it, all the check boxes i want to be populated with the value of TRUE, populates them. I was attempting to do this through the expression builder. Would doing this in VBA be a better option? well if any one has any advice, or can help me with this, then thank you.
 
Hello:
The code below would do what you ask if it was put under the click event of a command button titled Command1. It sets two check boxes to True.
'
Private Sub Command1_Click()
Check1 = True
Check2 = True

End Sub
'
Regards
Mark
 
populate

Thanx, It works great.
 

Users who are viewing this thread

Back
Top Bottom