Maptitude GISDK Help

SortSet()

Summary

Sorts the records in a selection set based on the values of one or more fields.

 

Syntax

SortSet(string set_name, string field_names)

 

Argument

Contents

set_name

The name of the selection set

list_of_fields

The list of fields by which to sort; primary sort key first

 

Example

qry = "Select * where Income > 50000"

nrecs = SelectByQuery("High Income", "Several", qry)

SortSet("High Income", "LNAME, FNAME")

 

Error Codes

Error Type

Meaning

Error

The set name is invalid or the list of fields is invalid

NotFound

There is no set with the given name

 

See Also

Function

Summary

CreateSet()

Creates a new, empty set on the current view

 

 

©2025 Caliper Corporation www.caliper.com