Direction Element (RDL)

Indicates whether the items are sorted in ascending or descending order.

Syntax

<SortBy>
     ...
        <Direction>...</Direction>
    ...
</SortBy>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

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

Element Relationships

Relationship Element

Parent element

SortBy

Child element

None

Remarks

The Direction element must contain one of the following values:

  • Ascending
  • Descending

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance