message box

J

JasonT

How (or can you) display a message box in Access without assigning the value
of the box to a variable. I am new to Access programming but in vb.net you
can simply call one to display information. You do not need to assign it's
value to something.
 
A

Allen Browne

In VBA you have a MsgBox statement, and a MsgBox() function.

Use the MsgBox statement to display a message, e.g.:
MsgBox "No more!"
and the MsgBox() function to return a value, e.g.:
If MsgBox("Any more?", vbYesNo) = vbYes Then ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top