Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Nov 2001
    Location
    Toronto Canada
    Posts
    920
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Checkboxes (A2K)

    Seemingly simple. I know that in order for a checkbox to be "checked" it has to have a value of -1. What I want to do is to have a checkbox "checked" based on another checkbox being "checked". So in the instances that Checkbox A is "checked", then Checkbox B will be checked. I know, use the same conditions that originally "checked" A, but I'm lazy.
    Cheers,
    Andy

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Checkboxes (A2K)

    On the After Update event of Checkbox A change the value of checkbox B to equal checkbox A:<pre>Sub CheckboxA_AfterUpdate()
    CheckboxB = CheckboxA
    End Sub</pre>

    HTH <img src=/S/thumbup.gif border=0 alt=thumbup width=15 height=15>

  3. #3
    5 Star Lounger
    Join Date
    Nov 2001
    Location
    Toronto Canada
    Posts
    920
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Checkboxes (A2K)

    Mark:
    Sorry for the slow response on my part. I was away from my system for a time. Dead perfect answer! I knew it would have to be simple. Remind me to put my mind in gear next time before I ask a simple question. Thanks again.
    Andy
    Cheers,
    Andy

Posting Permissions

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