# Get(TotalRecordCount)

Returns the total number of records in the current table.

`Get ( TotalRecordCount )`

## Parameters

None

## Data type returned

number

## Originated in version

6.0 or earlier

## Description

If the current calculation is stored and you specify its context, this function will be evaluated based on that context; otherwise, it will be evaluated based on the context of the current window.

## Example 1

Returns **876** when there are 876 records in the current table. For an example script, see Set Next Serial Value script step.

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas