MsgBox Displays Microsoft Office Access in the Title Bar

G

Guest

Hi,

When I display a message box, how do I set the Title Bar of the message box
to show the name of my application without explicitly specifying it?

The help says "If you omit title, the application name is placed in the
title bar.". But I've set every possible Title I can find:

* Tools->Properties->Project Name
* Tools->Startup->Application Title
* File->Database Properties->Title

Am I missing something?
 
G

George Nicholson

I suspect that, in this context, "Application Name" means the parent
application: Access. (but I could be wrong)

However, once you have set Tools>Startup>ApplicationTitle you can use
CurrentDB.Properties("AppTitle") as a "dynamic" MsgBox argument...
 
G

Guest

I said, I want to show the name of the application without EXPLICITLY
specifying it.

I know it is possible because I saw it done before a couple of years back -
but I never did know how to do it.
 
D

Denis Bisson via AccessMonster.com

You may want to take a second look at George Nicholson's 03 Jun 2005 15:57
reply to you. I just tried it and it works like a charm!
 
R

Rick Brandt

Andrew said:
I said, I want to show the name of the application without EXPLICITLY
specifying it.

I know it is possible because I saw it done before a couple of years
back - but I never did know how to do it.

You probably saw an Access 97 app. Access 97 displays the name of the
application as specified in Startup properties as the title of any message
box that doesn't explicitly use an argument to supply a different title.

I just tested this and none of the newer versions do this anymore.
 

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