• Control visibility of text boxes etc on a form with a checkbox

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Control visibility of text boxes etc on a form with a checkbox

    Author
    Topic
    #480049

    Good day, I have a database inherited from a new client (Access 2007) they currently have a form on which they would like to have a few extra text boxes on the form if a checkbox is ticked and not visible if not ticked. Is this possible? If yes can you point me to an example of the code and where to put it. Thanks.

    Found the answer. Me.NameOfComboBox.Visible = Me.NameOfCheckBox placed in Event On Click

    Viewing 0 reply threads
    Author
    Replies
    • #1306790

      I am sure you know, but if you are scrolling through records on the form, then this code needs to go on both the After Update Event of the check box, and also the On Current event of the form.

    Viewing 0 reply threads
    Reply To: Control visibility of text boxes etc on a form with a checkbox

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: