dkkirk2000
Registered User.
- Local time
- Yesterday, 18:21
- Joined
- Jan 27, 2017
- Messages
- 16
Hello,
I have a form with two subforms. I would like to hide one of the subforms when the field "CR Change Class" is Major A or B Change. This is what I got but it doesn't work
Private Sub Form_AfterUpdate()
If [CR Change Class] = "Major A Change" Then
Me.[Major A CRs Microplan subform].Visible = True
Else
Me.[Major A CRs Microplan subform].Visible = False
End If
If [CR Change Class] = "Major B Change" Then
Me.[CR Burndown Status Microplan subform].Visible = True
Else
Me.[CR Burndown Status Microplan subform].Visible = False
End If
End Sub
Thanks for the help!!
I have a form with two subforms. I would like to hide one of the subforms when the field "CR Change Class" is Major A or B Change. This is what I got but it doesn't work
Private Sub Form_AfterUpdate()
If [CR Change Class] = "Major A Change" Then
Me.[Major A CRs Microplan subform].Visible = True
Else
Me.[Major A CRs Microplan subform].Visible = False
End If
If [CR Change Class] = "Major B Change" Then
Me.[CR Burndown Status Microplan subform].Visible = True
Else
Me.[CR Burndown Status Microplan subform].Visible = False
End If
End Sub
Thanks for the help!!