K
kumba
I'm a novice to MS Access and would truly appreciate any feedback/help
that is offered. Here is my situation:
I have 5 different checkboxes that produce true/false "make label
visible" results to the same label. The label becomes visible when the
checkbox is checked but when I reopen the database, the box is checked
but the label is not visible. I've tried refreshing the form before
saving but with the same results.
Here is the code for each checkbox:
Private Sub Question1_AfterUpdate()
Me.Unable_Hire.Visible = Me.Question1
End Sub
Private Sub Question2_AfterUpdate()
Me.Unable_Hire.Visible = Me.Question2
End Sub
Private Sub Question3_AfterUpdate()
Me.Unable_Hire.Visible = Me.Question3
End Sub
Private Sub Question4_AfterUpdate()
Me.Unable_Hire.Visible = Me.Question4
End Sub
Private Sub Question5_AfterUpdate()
Me.Unable_Hire.Visible = Me.Question5
End Sub
Here is the code for the form:
Private Sub Form_Current()
Me.Unable_Hire.Visible = Me.Question1
Me.Unable_Hire.Visible = Me.Question2
Me.Unable_Hire.Visible = Me.Question3
Me.Unable_Hire.Visible = Me.Question4
Me.Unable_Hire.Visible = Me.Question5
End Sub
I'm assuming I'm missing something on the Form_Current() section but
have no idea what it is.....
Thanks in advance,
MK
that is offered. Here is my situation:
I have 5 different checkboxes that produce true/false "make label
visible" results to the same label. The label becomes visible when the
checkbox is checked but when I reopen the database, the box is checked
but the label is not visible. I've tried refreshing the form before
saving but with the same results.
Here is the code for each checkbox:
Private Sub Question1_AfterUpdate()
Me.Unable_Hire.Visible = Me.Question1
End Sub
Private Sub Question2_AfterUpdate()
Me.Unable_Hire.Visible = Me.Question2
End Sub
Private Sub Question3_AfterUpdate()
Me.Unable_Hire.Visible = Me.Question3
End Sub
Private Sub Question4_AfterUpdate()
Me.Unable_Hire.Visible = Me.Question4
End Sub
Private Sub Question5_AfterUpdate()
Me.Unable_Hire.Visible = Me.Question5
End Sub
Here is the code for the form:
Private Sub Form_Current()
Me.Unable_Hire.Visible = Me.Question1
Me.Unable_Hire.Visible = Me.Question2
Me.Unable_Hire.Visible = Me.Question3
Me.Unable_Hire.Visible = Me.Question4
Me.Unable_Hire.Visible = Me.Question5
End Sub
I'm assuming I'm missing something on the Form_Current() section but
have no idea what it is.....
Thanks in advance,
MK