Small company logo:
   History
 
Advertising banner:
 
 ServerFile.SortField
Home • Help • Customization Tools • FCAS • Language Reference • ServerFile.SortField
 
Purpose
Sorts items on the FirstClass server that have been returned by container-oriented methods such as ContainerField and FindFirst/FindNext on a particular field.
Syntax
ServerFile.SortField ( FieldID [, Order] )


FieldID
The ID of the field on which you want to sort.
Order
The order in which to sort the items. This is a number from 1 to 3, where 1 is the primary, 2 the secondary, and 3 the tertiary sort order.
If you don't specify a sort order, it will be primary.

Example
Dim sf as ServerFile
sf.SortField (1023, 2)