Teri Bridges
Member
- Local time
- Yesterday, 22:33
- Joined
- Feb 21, 2022
- Messages
- 186
I want to show/Hide my sub form. when the user clicks the button the subform displays and when they click again it hides
I cannot get any of these to work
'Hide It
Forms!frmCourseDetails!frmCourseReviewCycleSubform.Visible = False
'Show it
Forms!frmCourseDetails!frmCourseReviewCycleSubform.Visible = True
This does not work either
Private Sub btnOpenReviewCycle_Click()
If Me.frmCourseReviewCycleSubform = False Then
Me.frmCourseReviewCycleSubform = True
ElseIf Me.frmCourseReviewCycleSubform = True Then
Me.frmCourseReviewCycleSubform = False
End Sub
I cannot get any of these to work
'Hide It
Forms!frmCourseDetails!frmCourseReviewCycleSubform.Visible = False
'Show it
Forms!frmCourseDetails!frmCourseReviewCycleSubform.Visible = True
This does not work either
Private Sub btnOpenReviewCycle_Click()
If Me.frmCourseReviewCycleSubform = False Then
Me.frmCourseReviewCycleSubform = True
ElseIf Me.frmCourseReviewCycleSubform = True Then
Me.frmCourseReviewCycleSubform = False
End Sub