SortTarget Element (RDL)

Indicates the name of the data region, grouping, or data set for a sort.

Syntax

<UserSort >
    ...
    <SortTarget>...</SortTarget>
    ...
</UserSort>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

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

Element Relationships

Relationship Element

Parent elements

UserSort

Child element

None

Remarks

If omitted, the sort will apply to the instance of the current scope.

The sort target must be within the current scope, an ancestor scope, or a peer scope which is a data region.

A matrix grouping is only a valid SortTarget from within matrix grouping scopes along the same matrix axis.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance