N
Niniel
Hello,
I finally figured something out that's been bugging me for a while, only to
realize that it's not working quite right yet.
The code below is in my first subform's AfterUpdate event, and I also copied
it into the main form's Current event. All it seems to do though is hide the
second subform once I move away from the record where originally I made it
visible. Going back to my original record won't bring the subform back,
either, even though the checkbox is checked.
How do I fix this?
Thank you.
Here's my code:
Private Sub Answer_AfterUpdate()
If Answer = -1 And QuestionID = 99 Then
Forms!frmBrowseApplications!sfrmBrowseSubmissions.Visible = True
Else: Forms!frmBrowseApplications!sfrmBrowseSubmissions.Visible = False
End If
End Sub
I finally figured something out that's been bugging me for a while, only to
realize that it's not working quite right yet.
The code below is in my first subform's AfterUpdate event, and I also copied
it into the main form's Current event. All it seems to do though is hide the
second subform once I move away from the record where originally I made it
visible. Going back to my original record won't bring the subform back,
either, even though the checkbox is checked.
How do I fix this?
Thank you.
Here's my code:
Private Sub Answer_AfterUpdate()
If Answer = -1 And QuestionID = 99 Then
Forms!frmBrowseApplications!sfrmBrowseSubmissions.Visible = True
Else: Forms!frmBrowseApplications!sfrmBrowseSubmissions.Visible = False
End If
End Sub