?
Solved

Quickie ! How do I display the "Application Title"

Posted on 2013-01-17
6
Medium Priority
?
306 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 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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 2000 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

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Question has a verified solution.

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

If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

850 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