command button

  • Thread starter Thread starter Terry
  • Start date Start date
T

Terry

Hi, I'm new to access. I was wondering if there is a way that you can put a
command button in that when clicked it will put check marks in the yes/no
checkboxes.
 
Yes, in the Click event of the command button:

Me.CheckBox1 = True
Me.CheckBox2 = True
etc.
 
I'm sorry but I don't know where you mean to enter this information. How do
I do it. Thank you very much.
 
Okay, open the form that has the command button on it in design view.
Select the command button and open the Properties Dialog.
Select the Events tab
Click on the small command button with the 3 dots ... to the right of the
Click property.
Select [Event Procedure]
The VBA editor will open to the Event procedure for the command button's
click event.
Enter the code in there.
 
Back
Top