共用方式為


How to: Add Comments to Report Controls

When adding or editing a report control, you can add comment text that is saved as part of the layout file (.frx or .lbx) but do not appear in the rendered output. Comment text is useful for control-specific developer notes, or for whatever purpose you wish.

To add a comment for a report control

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

  2. In the designer, double-click the report control to which you want to add comments.

    The properties dialog box for the report control opens.

    Note

    If the _REPORTBUILDER system variable is not set to the default Report Builder or is set to a third-party builder, the report control dialog box displays or a different dialog box might display. For more information, see _REPORTBUILDER System Variable.

  3. In the report control properties dialog box, click the Other tab if it is not selected.

  4. In the Comment area, click Edit comment.

    The comment dialog box for the report control opens.

  5. In the comment dialog box, type the comment you want for the report control.

  6. When you are finished, click OK.

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

See Also

Tasks

How to: Add User Data to Report Controls

Other Resources

Managing Report Controls
Configuring Report Controls
Working with Report Controls