Set

Description

Sets a sorting order. Set the first parameter to Empty to flush the current sorting.

Syntax

Function Set(fields, asc)

Parameters

fields (input) - fields to set

asc (input) - how the database is sorted

Return value

none

Example

Sample code

Sort.Set Array( "Field1", "Field2" ), Array( true, false )

See also

Platform Objects and Methods

DB.sort

DB.AppendFinish

DB.SetFieldValue

DB.TransactionFinish