Prev | Current Page 1699 | Next

Michael R. Groh, Joseph C. Stockman, Gavin Powell, and Cary N. Prague

"Access 2007 Bible"

A message box can be used to obtain confirmation
before performing an irreversible action, or to deliver important information.
The MsgBox function accepts a number of parameters that specify the message text, which buttons
to display on the message box, and the text to display in the message box title bar. The MsgBox
function returns a value indicating which button displayed on the message box has been clicked by
the user. The syntax of MsgBox is as follows:
MsgBox(Prompt[, Buttons][, Title][, HelpFile, Context])
where the function parameters are:
n Prompt: The message displayed in the message box. Prompt can be a maximum of
approximately 1,024 characters. Separate lines in Prompt with a carriage return character
(Chr(13)), a linefeed character (Chr(10)), or a carriage return-linefeed character
combination (Chr(13) & Chr(10)) between the lines.
n Buttons: A numeric expression that defines the number and type of buttons to display
in the message box, the icon style to use, which button to use as the default button, and
the modality of the message box.


Pages:
1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711
błonnik lniany phone card secentrum wróżby działka szczecin