Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2011
    Posts
    56

    Unanswered: make a button change stuff on the form?

    ok, i have this form, quite basic, and what i need to do is put a script behind this button, that makes the button change some tickboxes (booleans) on the form

    heres what ive got

    (button is called alltrue)

    Code:
    Private Sub Alltrue_OnClick
    
    Dim Istrue as Boolean
    
    Alltrue.OnClick = Istrue
    
    If Istrue = True then
    
         Me.Visualcheck = true
    
    End if

    (visualcheck is the tickbox (boolean) i want the button to change if clicked..)

    Any Ideas?

  2. #2
    Join Date
    Oct 2006
    Posts
    110
    All you really need is the

    Me.visualcheck = true

    If you want to click a command button and make it check a checkbox.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •