Promotic

Sort - property of the AdoRecordset object

Description:
Returns or sets the field names in the AdoRecordset to sort on.
 
The property returns or sets a value of the String type that specifies the field names in the AdoRecordset object to sort on. Each field name must be separated by a comma. To select the sort order, you can specify ASC (ascending order), or DESC (descending order) after the field name.
The default value is ASC.
Syntax:
String Sort
Note:
Property access for read and write.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

oRs.Sort = "CompanyName DESC,ContactName";
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.