Ok I've made lots of progress in Access over the last few weeks, but having a spot of trouble working out where I've gone wrong, I have a form with a button and on click I want that Form to clos and another form to open, but at the moment the form isn't closing.
I have a Form called "Contacts" and in the header section I have buttons
one of the buttons name is "Command48" and caption is "Log Out"
On the Command button properties option under the Event Tab
I selected [Event Procedure] to the side of On Click
then typed the following
Private Sub Command48_Click()
DoCmd.Close
DoCmd.OpenForm "Login"
End Sub
Regards
Blanchard
I have a Form called "Contacts" and in the header section I have buttons
one of the buttons name is "Command48" and caption is "Log Out"
On the Command button properties option under the Event Tab
I selected [Event Procedure] to the side of On Click
then typed the following
Private Sub Command48_Click()
DoCmd.Close
DoCmd.OpenForm "Login"
End Sub
Regards
Blanchard