Disable form with a checkbox

ezpc

Registered User.
Local time
Today, 12:48
Joined
Sep 7, 2000
Messages
19
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.
 
Checkbox form in Northwin

Rich,

Yes, I have looked at the one in Northwind. I got a little confused though because that one is on the startup form and I do want my existing startup form to stay the same(it has a verification of backend location routine).
 
Checkbox to disable form

Thank you so much! I've got it working fine now.
 

Users who are viewing this thread

Back
Top Bottom