LastRec()

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()

3 responses to “LastRec()

  1. Pingback: Harbour All Function – L | Viva Clipper !

  2. Pingback: Harbour Database Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.