...
Excerpt | ||
---|---|---|
| ||
countElements(list, selection) Returns the number of elements in an Array or Recordset. |
...
Returns the number of elements in an Array or Recordset.
Syntax
countElements(list, selection)
Argument | Type | Description |
---|---|---|
list | Array or Recordset | The object to be counted. |
selection | String | An optional parameter which can be set to "All". This parameter is only used by CSS elements or Formatting Rules, when set to |
Examples
countElements([1,2,"many"])
...
Returns the number of records being read from the 'in' pipe during the current stream table processing cycle. This can be useful when deciding whether or not to read values from a pipe, for instance when using calculate streamstables.
countElements(in.AnyFieldName)
Also returns the number of records being read from the 'in' pipe, if AnyFieldName is an attribute that exists on the stream table being read from.
countElements(lookupPipe)
...