Creating a command on an on click event RRS feed

  • Question

  • hi all,

    i am trying to create a sub in access that will create an on click event on a button i have in a form, i need it to tick a yes/no box to yes on click can anyone help me out i am sure it is easy i just don't have the time to look into it thanks in advance.

    Wednesday, May 23, 2018 11:17 PM

All replies

  • Hi,

    In the Click event of the button, you can select [Event Procedure] and then hit the ellipsis to go to the VBA window. You can then enter the code you want to run when the button is clicked. For example:

    Me.CheckboxName = True

    Hope it's what you meant...

    Thursday, May 24, 2018 1:37 AM