Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to rename a query or report displayed on title bar.

Status
Not open for further replies.

axilla2

IS-IT--Management
Jan 24, 2003
11
GB
So, I created a bunch of reports and queries with these convoluded names like qryDailyRptANC. Without realizing that the name I gave it is going to appear on all headers and exports.

Too late to change now b/c these names are hardcoded into buttons and actions.

I wonder if there is a way to assign an alias to a report or query so that the alias name is displayed to the user on the header instead.

I know, I can simply create another query, feed it off the original(select * from ..) and name it whatever I want.. but nevermind that, i wonder if there's an easier way just to assign it a different name to display on the front end.

thanks-
 
For Forms and Reports, use the Caption property to display a more meaningful name in the titlebar. The caption is just a label, it doesn't affect the Name property and therefore won't affect your code.

Unfortunately, there is no Caption property for queries.

HTH
Lightning
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top