RDD

RecNo()

Return the identity at the record pointer

Syntax

Signature
RecNo() --> Identity

Arguments

None.

Return value

Current record identity.

Description

RecNo() returns the physical identity of the current record.

Notes

The value can be zero at a boundary.

Example

RecNo.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   DbGoTop()
   QOut( "Record: " + LTrim( Str( RecNo() ) ) )
   DbCloseArea()

RETURN

Output

See also