RECCOUNT

This function will return the current record count.

RECCOUNT(SUBFORM)


PARAMETERS

Subform

0 or blank = Main Form Datasource

1 = Subform#1

2 = Subform#2

3 = Subform#3

4 = Subform#4

5 = Subform#5.

Example:
To automatically display the total number of records every time you move to a new record, enter the following code in your forms ON CURRENT event. (Note: Assumes you have a TEXTBOX with a tag name of TOTALRECORDS)

SETVALUE(~TOTALRECORDS~//RECCOUNT(0))