Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a check box to populate a text box 1

Status
Not open for further replies.

kjpreston

Technical User
Jun 3, 2005
34
US
I need to be able to use a check box on a form to populate 3 text boxes if checked. If not checked then I need to be able to enter other information in the same text boxes. How can I do this?
 
on the check box click event

if check box is set:
set the text in the text boxes to what you want and change
the enabled state of the same text boxes to false

else if check box is not set to true then make the text boxes enabled then you can enter text into them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top