Share via


ReportParameter Element (RDL)

Describes an individual parameter in the report.

Sintaxis

<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

Notas

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).

Vea también

Referencia

Report Definition XML Elements

Ayuda e información

Obtener ayuda sobre SQL Server 2005