Viva Clipper !

LastRec()

Advertisements

LASTREC()

Returns the number of records in an active work area or database.

Syntax

      LASTREC() | RECCOUNT()* --> nRecords

Returns

<nRecords > The number of records

Description

This function returns the number of records present in the database in the selected or designated work area. If no records are present the value of this function will be 0. Additionaly, if no database is in use in the selected or designated work area, this function will return a 0 value as well.

Examples

      USE tests NEW
      ? LASTREC(), RECCOUNT()

Compliance

Clipper

Platforms

All

Files

Library is rdd

Seealso

EOF()

Advertisements

Advertisements