Linking Forms

ACM

Registered User.
Local time
Today, 17:07
Joined
Sep 18, 2009
Messages
13
I was wondering how I go about making my form functional.

Okay, so I have an exit button, which doesn't work. Even though the code looks good to me. I want the form to close when the user clicks exit.

Code:
Private Sub Command5_Click()
Unload.Me
End Sub

I have a button which is meant to take the user to another form, a complaints form where they can fill out a complaint. I've managed to do this by using a hyperlink but I can't seem to find a way of doing it by using VBA code. Does anybody know?
 
If this is in Access, look at

DoCmd.Close...
 

Users who are viewing this thread

Back
Top Bottom