Results 1 to 2 of 2
  1. #1
    4 Star Lounger
    Join Date
    Feb 2002
    Posts
    537
    Thanks
    0
    Thanked 0 Times in 0 Posts

    check box with label (Access 2000)

    How could i make the caption of the check box label read "Turned down" when the check box is true, and nothing if the check box is false?

  2. #2
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: check box with label (Access 2000)

    You need the same piece of code in both the afterupdate event of the checkbox, and the oncurrent event of the form.

    Private Sub Check4_AfterUpdate()
    If Me.Check4 = True Then
    Me.Label5.Caption = "turned down"
    Else
    Me.Label5.Caption = " "
    End If
    End Sub

    substitute the correct names
    Regards
    John



Posting Permissions

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