Udostępnij za pośrednictwem


ParameterValue Element (RDL)

Provides an individual hard-coded parameter for the list contained within the ParameterValues element.

Syntax

<ParameterValues>
    ...
        <ParameterValue>
              <Value>...</Value>
              <Label>...</Label>
        </ParameterValue>
    ...
</ParameterValues>

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 Relationships

Relationship Element

Parent element

ParameterValues

Child elements

Label, Value

Remarks

For the Value parameter:

  • Use "true" and "false" for Boolean parameters
  • Use ISO 8601 values for date/time parameters
  • Use "." as the optional decimal separator for float parameters

If the Label parameter is not supplied, the Value parameter is used as the label. If no Value parameter is supplied, then an empty string is used.

If the Value expression returns an array, the Label expression must return an array with the same number of items.

If the Value expression does not return an array, the Label expression must not return an array.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance