Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

msg box?? 1

Status
Not open for further replies.

Parmb

Technical User
Dec 17, 2001
89
GB
Hi,

I'm trying to develop a database, i would like for it to have a help function for certain items - hence i wondered if Access has the VB message box function??

Also does anyone have any example msg code i can work from, heven't used VB in years.

Also when coding it behind a command button do i enter the code on click event + how do i change the button to look like a ? symbol??

any help appreciated
thanks in advance
Parm#
 
Parm, the msgbox function is available in Access. Actually, it's very very popular and used in most databases.

You can look in Access help for the full syntax and options, but the basic code is simply:
Msgbox "Message to print here"

To make a button display a "?", just enter "?" in the caption property. Maq B-)
<insert witty signature here>
 
To display a Question Mark use:

MsgBox &quot;Your Message&quot;, vbQuestion

There are other types of message boxes as well (i.e. vbInformation and vbExclamation) Each one places a different icon in your message box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top