| Maptitude GISDK Help |
Sorts the records in a selection set based on the values of one or more fields.
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 |
qry = "Select * where Income > 50000"
nrecs = SelectByQuery("High Income", "Several", qry)
SortSet("High Income", "LNAME, FNAME")
| 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 |
| Function | Summary |
|---|---|
| CreateSet() | Creates a new, empty set on the current view |
| ©2025 Caliper Corporation | www.caliper.com |