|
||||||
|
MsgBox By Richard Rost 3 years ago Use MsgBox to Create an "Are You Sure?" Prompt In this video, I will teach you how to use the MsgBox command in Microsoft Access VBA. You will see how to create a simple popup. Then you will learn how to use MsgBox to return a YES or NO response from the user. This is helpful before running long or delicate procedures. Anabel from Tuscaloosa, Alabama (a Gold Member) asks: I have a series of queries that I run once a month to generate reports. There's a bunch of append and delete queries in there, and they take a LONG time to run. I've accidentally clicked on the button to start this procedure a few times. Short of killing Access, is there any way to have it prompt me "Are You Sure?" before beginning this process? MembersMembers will learn how to avoid using the MsgBox command altogether by modifying the button's caption to ask the user if they're sure.
Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the files from class plus get access to the Code Vault. If you're not a member, Join Today!
Links
Next Up...
Keywordsmicrosoft access, ms access, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #instruction, #learn, #lesson, #training, #database, MsgBox, Msg Box, Message Box, MessageBox, Are You Sure, vbYesNo, vbYes, vbNo, vbYesNoCancel, Prompt User, Message Boxes, MsgBox Return Values, Yes/No, OK, Cancel
|
||||||||||||||||||||||||
| |||
Keywords: TechHelp Access MsgBox, Msg Box, Message Box, MessageBox, Are You Sure, vbYesNo, vbYes, vbNo, vbYesNoCancel, Prompt User, Message Boxes, MsgBox Return Values, Yes/No, OK, Cancel PermaLink MsgBox in Microsoft Access |