J
Jimbo213
I have a multi-page form [looks like tabs].
FieldA shows on Page1 and Page2 of the form
When I check FieldB, I want FieldA to be hidden
1) on the current Page1
2) on Page2
This code works 1) on the current page because Me! means Page1:
Private Sub FieldB__AfterUpdate()
‘
If Not Me![FieldZ] = 0 Then
Me![FieldA].Visible = True
Else
Me![FieldB].Visible = False
End If
'
End Sub
What do I have to add to the code to change Page2's FieldA visible property?
FieldA shows on Page1 and Page2 of the form
When I check FieldB, I want FieldA to be hidden
1) on the current Page1
2) on Page2
This code works 1) on the current page because Me! means Page1:
Private Sub FieldB__AfterUpdate()
‘
If Not Me![FieldZ] = 0 Then
Me![FieldA].Visible = True
Else
Me![FieldB].Visible = False
End If
'
End Sub
What do I have to add to the code to change Page2's FieldA visible property?