Solved

MS Access - Setting a Report Header label value

Posted on 2011-03-01
2
301 Views
Last Modified: 2012-06-22
I have a report that is based on a Query.  I have a separate table that contains the Page header labels I want to use.  How can I query the separate table (not related to the content of the report) to set the Caption value of the label?
0
Comment
Question by:keschuster
2 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 35012374
Use DLookup() as the Control Source for a textbox (instead of label):

=DLookup("[YourFieldName]","YourTableName")

mx
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 35012378
how are the label information stored in the table? does it have id to distinguish them from each other?

post sample data...

you can create a function to get the correct label,
by passing a parameter to the function
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

770 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