Software

Include parameter values in your Access report titles

You can create more informative titles for reports that are based on parameter queries. This simple technique will enable you to include the parameters in your report titles and headers.

For reports based on parameter queries, it is helpful if the parameters used to generate the report are displayed in the report title. You just need to create a text box next to the report title and enter =Reports![reportname]!parametername] as the Text box's control source.

For example, suppose you have created a report called Hours Worked for Week Ending based on the Parameter query shown in Figure A.

Figure A

To add to your title the date that's input into the parameter query box, follow these steps:

  1. Add a text box to the end of the report title.
  2. Right-click the text box and select Properties.
  3. Click in the Control Source property and enter =Reports![Hours Worked for Week Ending]![Enter Week Ending Date] (Figure B).
  4. Format the text box to match the rest of the Report title (Figure C).

Figure B

Figure C

When the report is run, Access displays the date entered for the parameter in the text box following the report title (Figure D) . You can also place the text box displaying the report's parameters in the report header.

Figure D


Miss an Access tip?

Check out the Microsoft Access archive and catch up on other Access tips.

Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.

Editor's Picks

Free Newsletters, In your Inbox