Previous Topic

Next Topic

Sort - Memory Table Method

method Sort(SortFields: String)

Sort method sorts a Memory Table by fields listed in SortFields.

You can specify the sort ordering by using +'s and -'s before each field to specify its sort order (+ is the default if nothing is specified). If the order is specified for the first field of the index only this ordering will apply to all parts of the index.

For example:

  Builder.Sort("-SalesArea;+CustCode")

Sort method syntax has these named arguments:

Parameter

Description

SortFields

Required. List of fields to include in the index, each field separated by a semi-colon (;).

See also the StringList Object Sort method.

See Also

Form Designer Table Methods

Book Contents

Book Index