2.2.3.5 CT_Ordering

Target namespace: http://schemas.microsoft.com/office/accessservices/2009/11/application

Referenced by: CT_Query

Container type for all of the ordering specified in a Query. MUST contain at least one and no more than 255 Order elements.

Child Elements:

Order : A CT_Order element that specifies a single order to apply to the Query. When more than one order is specified, the final query Results are ordered such that the first listed order takes precedence across the entire result set, with the second listed order affecting the arrangement of rows within the limits imposed by the first order, and so on.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_Ordering">
   <xsd:sequence>
     <xsd:element name="Order" maxOccurs="255" wbld:cname="Order" type="CT_Order"/>
   </xsd:sequence>
 </xsd:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).