I want a user to be able to turn off an informational form with a checkbox. I added this code to the On Open event of the form.
If Me.HideIntro = True Then
DoCmd.Close
End If
It didn't work though. The check box doesn't stay checked and the form continues to open after it has been checked.
Any help would be appreciated.
If Me.HideIntro = True Then
DoCmd.Close
End If
It didn't work though. The check box doesn't stay checked and the form continues to open after it has been checked.
Any help would be appreciated.