B
Braiock
Hello,
I have a simple form in which I have a checkbox that makes a text field
visible when the checkbox is checked (The text field is not bound). My
problem is that when I switch to the next record the checkbox gets updated
along with the record but the text field does not change along with the
checkbox; if the next record has the checkbox unchecked the text box will
still stay visible.
Here is what code I have:
Private Sub Check19_AfterUpdate()
Me![Text22].Visible = Me!Check19
Me![Attachment29].Visible = Me!Check19
End Sub
Private Sub Form_Current()
Me![Text22].Visible = Me!Check19
Me![Attachment29].Visible = Me!Check19
End Sub
Thank you for any help you can provide
I have a simple form in which I have a checkbox that makes a text field
visible when the checkbox is checked (The text field is not bound). My
problem is that when I switch to the next record the checkbox gets updated
along with the record but the text field does not change along with the
checkbox; if the next record has the checkbox unchecked the text box will
still stay visible.
Here is what code I have:
Private Sub Check19_AfterUpdate()
Me![Text22].Visible = Me!Check19
Me![Attachment29].Visible = Me!Check19
End Sub
Private Sub Form_Current()
Me![Text22].Visible = Me!Check19
Me![Attachment29].Visible = Me!Check19
End Sub
Thank you for any help you can provide