Change the mdb name in the title bar?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I wanted to call the latest version of my app by a different name so I copied
the mdb and re-named the new file.
However, when it opens, the old name is still shown in the title bar (blue,
at top of screen). Look as though simply re-naming the filename isn't enough?
I have looked all over the place but cannot see how to change this.
Somebody, please???
Thanks
CW
 
CurrentDb.Properties("AppTitle") = "New Application Title"

The "trick" is that the property doesn't exist unless you've created it,
either by setting the title through Tools | Startup, or using the
CreateProperty method.
 
Doug,

Thanks for the tip. I was trying to figure out how to access that property
for my SwitchBoard form and there you were.

eg. Me.Caption = CurrentDb.Properties("AppTitle")

This way if I change my app name during development I don't have to worry
about remembering to change the "caption" value in the SwitchBoard form.

Thanks again
 
Back
Top