Share via


SortExpressionScope Element (RDL)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Contains the name of the scope (data region or group) in which to evaluate a sort expression.

Datatype Characteristics

Characteristic Description

Data type and length

String

Default value

None

Element Relationships

Relationship Element

Parent elements

UserSort Element (RDL)

Child elements

None

Remarks

If omitted, the expression will be evaluated and the sort will be performed independently in each detail scope within the SortTarget.

The value must be a scope that is equal to or contained within the current scope. If the text box has no current scope (for example, it is not contained in any data region), SortExpressionScope must be equal to or contained within the SortTarget element.

The data set for the SortExpressionScope must be the same as the data set for the SortTarget element.

Sorting takes place within the group containing the SortExpressionScope. For example, in a table with a country group and a city group with UserSort element on each header and SortExpressionScope of the corresponding group, the country sort will sort the country groups within the table, and the city sort will sort the city groups within each country group (without rearranging the country groups).

See Also

Reference

Report Definition Language XML Schema
Report Definition XML Elements
Sorting Data in a Report

Concepts

Report Definition Language Data Types

Other Resources

Development (Reporting Services)
Understanding Report Processing and Scope

Help and Information

Getting SQL Server 2008 Assistance