Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
hiddentrue
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)

ArgumentTypeDescription
listArray or RecordsetThe object to be counted.
selectionString

An optional parameter which can be set to "All".

This parameter is only used by CSS elements or Formatting Rules, when set to "All" countElements will count all elements in a grid. If not set countElements only returns the number of selected records.

Examples

countElements([1,2,"many"])

...