Vous êtes ici: Help Topics > Customization > Calculation > ROWCOUNT Function

ROWCOUNT Function

The ROWCOUNT function returns the number of rows in the first found instance of the specified table.

Syntax

ROWCOUNT(tablename)

The ROWCOUNT function searches text areas of the document in the following order, Main Document, Headers, Footers, Carry Forward, Auto Copy, returning the number of rows for the first table encountered that matches the specified table name.

Example 1

Entering ROWCOUNT(ABC) in a cell returns the number of rows in table ABC.

Related Topics