A
AFSSkier
How can I do a close app. using DoCmd.Quit with a MSGBOX saying "Are you sure
you want to close Application?".
you want to close Application?".
How can I do a close app. using DoCmd.Quit with a MSGBOX saying "Are you sure
you want to close Application?".
fredg said:If MsgBox("Are you sure you want to close the Application",vbYesNo) =
vbYes then
DoCmd.Quit
End If
This is the current Form Code Argument.
' Exit the application.
Case conCmdExitApplication
DoCmd.Quit
Is this how the new Argurment with the MsgBox should be?
' Exit the application.
Case conCmdExitApplication
If MsgBox("Are you sure you want to close the Application",vbYesNo) =
vbYes then
DoCmd.Quit
Douglas J Steele said:Don't forget the End If after the DoCmd.Quit