Custom error message on multiple lines

SteveC24

Registered User.
Local time
Today, 15:22
Joined
Feb 1, 2003
Messages
444
Hello,

I don't think this was possible in Access 2000, but I am wondering if it is possible in Access 2003.

I am after making a custom error message, on multiple lines.

You can do it using a macro, but not in VBA (that I can find). The effect I am really after is making the first line bold...for example:

------------------------------
¦ Backend file not found ¦ <<<< IN BOLD
¦ ¦
¦ Contact <blah blah> for ¦ <<<<< In standard print
¦ more information. ¦
------------------------------


Thank you!
 
OK - my little picture of my error message didn't come out as well as planned, but you get the general idea!
 
You could make that line the title for the error message so that it appears beside an "!" or something:

MsgBox "Contact blah blah for more information.", vbCritical+ vbOKOnly + vbDefaultButton1, "Backend File Not Found!"
 
SteveClarkson said:
I don't think this was possible in Access 2000, but I am wondering if it is possible in Access 2003.

You can do it using a macro, but not in VBA (that I can find). The effect I am really after is making the first line bold...for example:

You can do it an A97 if you want.

With the VBA, you need to use the Eval() function with the MsgBox method.
 
Thanks everyone! Will use the Eval() as suggested!
 

Users who are viewing this thread

Back
Top Bottom