Hello all,
I have been having some troubles figuring out how to do this. Naturally, I have looked through this forum and countless others, all yielding the same answers to my question... which for some reason I cannot get to work. I can't quite figure out what I'm doing wrong here.
I am in the process of creating a search form that searches through a database using different parameters. This parameters are text boxes. Next to the text boxes are checkboxes. For example, I would like to have Text1 enabled when Checkbox1 is checked. Here is what I have so far:
Keep in mind that I am doing this in MS Access 2007.
I am open to any suggestions and greatly appreciate any help.
Thanks,
VBnewb13
I have been having some troubles figuring out how to do this. Naturally, I have looked through this forum and countless others, all yielding the same answers to my question... which for some reason I cannot get to work. I can't quite figure out what I'm doing wrong here.
I am in the process of creating a search form that searches through a database using different parameters. This parameters are text boxes. Next to the text boxes are checkboxes. For example, I would like to have Text1 enabled when Checkbox1 is checked. Here is what I have so far:
Code:
Private Sub Check1_AfterUpdate() If Me.Check1 = True Then Me.text1.Enabled = True Else Me.text1.Enabled = False End If End Sub
I am open to any suggestions and greatly appreciate any help.
Thanks,
VBnewb13
Comment