Partager via


ReportParameter Element (RDL)

Describes an individual parameter in the report.

Syntaxe

<ReportParameters>
        <ReportParameter Name="...">
              <DataType>...</DataType>
              <Nullable>...</Nullable>
              <DefaultValue>...</DefaultValue>
              <AllowBlank>...</AllowBlank>
              <Prompt>...</Prompt>
              <Hidden>...</Hidden>
              <MultiValue>...</MultiValue>
              <ValidValues>...</ValidValues>
              <UsedInQuery>...</UsedInQuery>
        </ReportParameter>
</ReportParameters>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-n: Required element that occurs once or more than once.

Element Attributes

Attribute Type Description

Name

String

Name of the parameter. Required.

Element Relationships

Relationship Element

Parent element

ReportParameters

Child elements

AllowBlank, DataType, DefaultValue, Nullable, Prompt,

Hidden

MultiValueValidValues, UsedInQuery

Notes

The Name attribute for the ReportParameter element must be unique within the ReportParameters parent element. The value for Name must be a case-insensitive identifier that is compliant with the Common Language Specification (CLS).

Voir aussi

Référence

Report Definition XML Elements

Aide et Informations

Assistance sur SQL Server 2005