Solved

Quickie ! How do I display the "Application Title"

Posted on 2013-01-17
6
294 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 66

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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

687 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