2.2.3.76 CT_TopRows

Target namespace: http://schemas.microsoft.com/office/accessservices/2010/12/application

Referenced by: CT_Query

Specifies a number that limits the number of records returned in the results of a Query (section 2.1.3).

Attributes:

Rows: A positiveInteger ([XMLSCHEMA2] section 3.3.25) attribute that specifies the number of records to be returned as results. If the Query (section 2.1.3) doesn’t include a CT_Ordering (section 2.2.3.3) element, the first Rows number of records are returned. If the Query (section 2.1.3) includes a CT_Ordering (section 2.2.3.3) element, the first Rows number of records, as sorted by that ordering, are returned.

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

 <xsd:complexType name="CT_TopRows">
   <xsd:attribute name="Rows" type="xsd:positiveInteger" use="required" wbld:cname="Rows"/>
 </xsd:complexType>

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