View on GitHub

dotnet-eud

.NET Controls End-User Documentation

Pass Parameter Values

This document describes the main concepts for using parameters in Snap, and provides examples of their use in various tasks.

The document consists of the following sections.

Create Parameters

You can manage the report parameters available for a Snap document using the Parameters dialog.

To invoke the Parameters dialog, right-click the Parameters node (or any of its sub-nodes) in the Data Explorer and select Edit Parameters… in the invoked drop-down menu.

snap-data-explorer-parameters-edit

The Parameters dialog allows you to add and remove parameters using the corresponding buttons. Alternatively, you can add or remove a parameter by right-clicking the parameter in the Data Explorer and selecting the required action in the invoked drop-down menu.

Select the newly added parameter and specify its properties in the properties grid. Be sure to specify the proper parameter type based on the parameter’s intended use.

snap-query-designer-parameters-dialog

Pass Parameter Values

After a parameter is created, it can be used in different ways during report generation. Below is a list of tasks that can be accomplished using parameters.