using check boxes to make text field visible

  • Thread starter Thread starter MHittenmiller
  • Start date Start date
M

MHittenmiller

Guest
Does anyone know code that will allow me (in Access 2000) when a check box is checked, to have a text box become visible, that is invisible when the box is not checked. There is information that i need when the check box is true, and I don't want the text box visible if the box is false.
 
well first make sure the text box visibility property is set to false

and then onclick event for the check box put this:

if txtboxname.visible = false then
txtboxname.visible = true
else
textboxname.visible = false
end if

that should work..
wink.gif
 
Thanks! I got it to work.
MH
 

Users who are viewing this thread

Back
Top Bottom