W wop0703 Registered User. Local time Today, 05:53 Joined Jun 1, 2005 Messages 77 Jun 14, 2005 #1 I have a form that has a command button on it. When the user clicks the command button I want the form that was up to be exited. I cannot find the correct syntax for this. Please help.
I have a form that has a command button on it. When the user clicks the command button I want the form that was up to be exited. I cannot find the correct syntax for this. Please help.
FoFa Registered User. Local time Today, 04:53 Joined Jan 29, 2003 Messages 3,653 Jun 14, 2005 #2 DoCmd.Close
W wop0703 Registered User. Local time Today, 05:53 Joined Jun 1, 2005 Messages 77 Jun 14, 2005 #3 Thank you.
ghudson Registered User. Local time Today, 05:53 Joined Jun 8, 2002 Messages 6,193 Jun 14, 2005 #4 Code: DoCmd.Close acForm, Me.Name
G godofhell Database Guru Local time Today, 02:53 Joined May 20, 2005 Messages 180 Jun 14, 2005 #5 If you want to completely exit the application you can use: DoCmd.RunCommand acCmdExit
ghudson Registered User. Local time Today, 05:53 Joined Jun 8, 2002 Messages 6,193 Jun 15, 2005 #6 He wants to close an open form. There are many ways to exit [close Access] the database. Code: DoCmd.Quit acQuitSaveNone DoCmd.RunCommand acCmdExit Application.Quit acQuitSaveNone
He wants to close an open form. There are many ways to exit [close Access] the database. Code: DoCmd.Quit acQuitSaveNone DoCmd.RunCommand acCmdExit Application.Quit acQuitSaveNone