# RECNO()

Returns the current record number or identity.

Syntax

  RECNO() --> Identity

Arguments

  None.

Returns

  RECNO() The record number or indentity

Description

  This function returns the position of the record pointer in the currently selected ot designated work area. If the database file is empty and if the RDD is the traditional .DBF file,the value of this function will be 1.

Examples

          USE Tests NEW
          DBGOTOP()
          RECNO()            // Returns 1
          DBGOTO(50)
          RECNO()            // Returns 50

Status

  Ready

Compliance

  This function is Ca-Clipper compliant

Files

  Library is rdd

See Also

- DBGOTO()
- DBGOTOP()
- DBGOBOTTOM()
- LASTREC()
- EOF()
- BOF()