Solved

Quickie ! How do I display the "Application Title"

Posted on 2013-01-17
6
291 Views
Last Modified: 2013-01-17
Access 2010

Click "File--->Options--->Current Database"

Note the field "Application Title"

How do I display this field in a form.

Thanks!
0
Comment
Question by:Patrick O'Dea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 75
ID: 38790044
In code"

dim x
x=CurrentDB.Properties("AppTitle")

mx
0
 
LVL 65

Expert Comment

by:Jim Horn
ID: 38790047
In design view edit the form's Caption property.

Otherwise, in VBA code..

application.CurrentProject.Name
application.CurrentProject.FullName
0
 
LVL 75
ID: 38790066
Jim ... that gives you the db name, not app title ...

mx
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Patrick O'Dea
ID: 38790071
Okay folks ... I should know this but...

Specifically, I want to display the "AppTitle" on a form.

Do I add a new "Label" onto the form?  If so, how exactly do I refer to the "AppTitle"
Do I add a new "Text Box" to the form? If so, how exactly do I refer to the "AppTitle"

I have tried a few things but nothing works yet.

Thanks again!
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 500 total points
ID: 38790097
OK ... add a Label, then in code:

Me.YourLabelName.Caption = CurrentDB.Properties("AppTitle")

Or in a text box:

Me.YourTextBoxName = CurrentDB.Properties("AppTitle")

mx
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 38790107
Perfect!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question