http://www.functionx.com/vbaccess2010/topics/msgbox.htm A message box is a special dialog box used to display a piece of information to the user. As opposed to a regular form, the user cannot type anything on the message box. There are usually two kinds of message boxes you will create: one that simply displays information and one that expects the user to make a decision. A message box is created using the MsgBox function. Its syntax is: MsgBox([ Message ] [ Buttons ] [ Title ] [ HelpFile ] [ Context ]) The MsgBox function takes five arguments and only the first one is required: the Message . The Message of a Message Box The Message argument is the string that the user will see displaying on the message box. As a string, you can display it in double quotes, like this "That's All Folks". Here is an example: Private Sub cmdMessageBox_Click() MsgBox "Your credentials have been checked." End Sub This would produce: ...
Comments
Post a Comment