Scripts Tab - Visual Studio Report Designer

The Scripts tab contains the script editor where you can manage and validate report scripts.

Important

Report scripts can never be considered entirely safe, and their execution cannot be completely restricted.

In particular, assigning security permissions to report scripts does not restrict them from accessing the .NET framework's static variables and methods.

Consider using binding expressions as the most convenient approach to performing custom calculations over your report's data.

The script editor supports intelligent code completion that makes it easier and faster for you to write scripts. Context-aware hints are displayed on typing a dot or pressing CTRL+spacebar.

winforms-script-code-completion

To check whether or not a report scripts contain errors, click the Validate button.

scripts-tab-validate-button

If errors are found, they are listed in the Visual Studio Error List panel.

scripts-tab-error-list-validation

To proceed to the line that contains an error, click that error in the Error List panel.

See Also