Maptitude GISDK Help

GetFieldAggregations()

Summary

Gets the aggregation rules for a field.

 

Syntax

aggr = GetFieldAggregations(string field_spec)

 

Argument

Contents

field_spec

The field specification

 

Returns

An array of aggregation modes that are set for this field.

 

Notes

Example

// Check whether aggregation of the Population field will include counts

aggr = GetFieldsAggregations("State.Population")

has_max = False

for i=1 to aggr.length do

if aggr[i][1] = "Max" then has_max = True

end

// has_max is True if aggr is of the form aggr = {...,{"Max"}, ...}

if has_max = False then

ShowMessage("Note: A join will not contain a maximum population field.")

 

Error Codes

Error Type

Meaning

NotFound

The specified view or field was not found

Error

Invalid field specification

 

See Also

Function

Summary

FieldsSupportAggregations()

Returns a list of fields that support aggregation rules

GetTableStructure()

Gets a list and description of the fields in a table

JoinViews()

Creates a joined view by linking fields in two existing views

JoinViewsMulti()

Creates a joined view by linking multiple fields in two existing views

ModifyTable()

Modifies the file structure of a dBASE, fixed-format text, or fixed-format binary table

 

 

©2025 Caliper Corporation www.caliper.com