Check Box Action

M

Matt

I want to put a check box in a form, and when it is
checked, it will make a hidden field visible.

Any thoughts?
 
J

Joel Montalvo

In design view:
add the check box (We'll call it "Check1" for now)
right-click on the checkbox -
select "Build Event" then "Code Builder".
In this example make "Label5" visible when "check1" is
clicked. (Assuming that the visible property value
of "Label5" is set to "No")

Private Sub Check1_Click()
Label5.Visible = True
End Sub
 
J

Joel Montalvo

In design view:
add the check box (We'll call it "Check1" for now)
right-click on the checkbox -
select "Build Event" then "Code Builder".
In this example make "Label5" visible when "check1" is
clicked. (Assuming that the visible property value
of "Label5" is set to "No")

Private Sub Check1_Click()
Label5.Visible = True
End Sub
 
Top