GetSetCount()

Summary

Gets the number of records in a set in the current view.

Syntax

count = GetSetCount(string set_name)

Argument Contents
set_name The name of the selection set

Returns

An integer indicating the number of records in the set.

Example

n1 = GetSetCount("High Income")
n2 = GetSetCount("Selection")

Error Codes

Error Type Meaning
NotFound The specified set does not exist

See Also

Function Summary
GetRecordCount() Gets the number of records in a view or selection set