Condividi tramite


ValidValues Element (RDL)

Provides a list of possible values with which to populate a parameter list that is displayed to users.

Sintassi

<ReportParameter Name="...">
       ...
        <ValidValues>
              <DataSetReference> <!-- or <ParameterValues-->
        ...
              </DataSetReference> <!-- or /ParameterValues -->
        </ValidValues>
       ...
</ReportParameter>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

0-1: Optional element that can occur once or not at all.

Element Relationships

Relationship Element

Parent element

ReportParameter

Child elements

DataSetReference, ParameterValues

Osservazioni

The ValidValues element must have only one child element: either DataSetReference or ParameterValues.

ValidValues is ignored for Boolean parameters.

Vedere anche

Riferimento

Report Definition XML Elements

Guida in linea e informazioni

Assistenza su SQL Server 2005