Condividi tramite


How to: Add Label Controls to Reports

You can display text that appears the same every time you generate reports or labels by adding Label controls to the page layout.

For example, suppose you have a Field control that contains an expression for calculating a total. You can display the text "Grand Total" in a Label control to identify the contents of a Field control as a total.

To add a Label control to a report layout

  1. Open the report or label in the appropriate designer.

  2. On the Report menu, point to Insert Control, and click Label.

    An editing cursor flashes in the report layout.

    Type in the characters for the label.

    Tip

    You can also add Label controls at the position you want by selecting them on the Report Controls toolbar and drawing them. After you add the control, you can move it by dragging it to the position you want.

For more information, see General Tab, Report Control Properties Dialog Box (Report Builder).

To edit a label control caption

  1. Open the report or label in the appropriate designer.

  2. In the designer, double-click the Label report control you want.

    The Label Properties dialog box opens.

    Note

    If the _REPORTBUILDER system variable is not set to the default Report Builder or is set to a third-party builder, the Text dialog box appears or a different dialog box might display. If the Text dialog box appears, edit text in the Label report control by clicking Label on the Report Controls toolbar, and then the Label control you want to edit in the designer. When you finish typing, click outside the Label control. For more information, see _REPORTBUILDER System Variable.

  3. In the Label Properties dialog box, click the General tab if it is not selected.

  4. In the Caption box on the General tab, type the changes to the text. To view and edit the entire text for the Label report control, click the ellipsis () button to open an editor dialog box.

  5. When you are finished, click OK.

    The updated text appears in the control.

For more information, see General Tab, Report Control Properties Dialog Box (Report Builder).

See Also

Other Resources

Managing Report Controls
Configuring Report Controls
Adding Report Controls
Working with Report Controls