SortExpressionScope Element (RDL)
Contains the name of the scope (data region or grouping) in which to evaluate a SortExpression Element (RDL).
Syntaxe
<UserSort >
...
<SortExpressionScope>...</SortExpressionScope>
...
</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 |
|
Child element |
None |
Notes
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.
The data set for the SortExpressionScope must be the same as the data set for the SortTarget.
Sorting takes place within the group containing the SortExpressionScope. For example, in a table with a country group and a city group with UserSort 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).
Voir aussi
Référence
Report Definition XML Elements