How to: Protect Report Controls

You can set protection options for a report control to prevent the user from changing the control or to hide the control from the user when modifying the report or label in protected mode. You can also set protection options for multiple selected report controls.

To set protection for a report control

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

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

    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. There is no way to set a design-time caption using the native report control dialog box. For more information, see _REPORTBUILDER System Variable.

  3. In the report control properties dialog box, click the Protection tab.

  4. On the Protection tab, select a combination of the following protection options:

    • The user will not be able to resize or move the report control.

    • The user will not be able to access the Report Control Properties dialog box.

    • The user will not be able to delete the report control from the layout.

    • The user will not be able to select the report control with the mouse or keyboard.

    • The user will not be able to see the report control.

  5. When you are finished, click OK.

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

To set protection for multiple selected report controls

  1. In the designer, select the report controls that you want using the multiple-selection method. For more information, see How to: Select Multiple Report Controls.

  2. Double-click one of the selected controls, or right-click and select Properties.

    The Multiple Selection 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, a report control dialog box displays or a different dialog box might display. For more information, see _REPORTBUILDER System Variable.

  3. In the Multiple Selection dialog box, click the Protection tab if it is not selected.

  4. On the Protection tab, select the protection options you want.

  5. When you are finished, click OK.

For more information, see How to: Select Multiple Report Controls.

See Also

Tasks

How to: Protect Report Layouts
How to: Protect Report Bands

Reference

MODIFY REPORT Command

Concepts

Report Protection Flags

Other Resources

Setting Protection for Reports