By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,404 Members | 2,145 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,404 IT Pros & Developers. It's quick & easy.

Newbie programming question

P: 2
Hi, im trying to get the coding for using the ME command to work in order to close a form and open the for "frm_Main_Menu" I want it to use the ME command so that i can then use it for all the main menu buttons across my various forms. The current code i'm using is shown below.

Private Sub Main_Menu_Click()
DoCmd.Close acForm, "frm_Customer"

DoCmd.OpenForm "frm_Main_Menu"

End Sub

I've managed to get the ME command to work for a splash screens timer but i cant work out how to do so for closing a form. The programming for the timer is shown below.

Private Sub Form_Open(Cancel As Integer)
Me.TimerInterval = 10000

End Sub

If anybody could fix the coding to close the form using the ME command i'd be very greatful,Thanks in advace :)
Apr 24 '06 #1
Share this Question
Share on Google+
1 Reply

P: 2
*bump* Please help :(
Apr 25 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.