Solved

Quickie ! How do I display the "Application Title"

Posted on 2013-01-17
6
261 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
  • 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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 - Access MVP) 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

929 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now