C5_RECNO

 RECNO()
 Return the identity at the position of the record pointer
------------------------------------------------------------------------------
 Syntax

     RECNO() --> Identity

 Returns

     RECNO() returns the identity found at the position of the record
     pointer.

 Description

     RECNO() is a database function that returns the identity found at the
     current position of the record pointer.  Identity is a unique value
     guaranteed by the structure of the data file to reference a specific
     record of a data file.  The data file need not be a traditional Xbase
     file.  Therefore, unlike earlier versions of Clipper, the value
     returned need not be a numeric data type.

     Under all RDDs, RECNO() returns the value at the position of the record
     pointer; the data type and other characteristics of this value are
     determined by the content of the accessed data and the RDD active in the
     current work area.  In an Xbase database this value is the record
     number.

 Examples

     USE Sales VIA "DBFNTX"
     .
     . < statements >
     .
     DBGOTOP()
     RECNO()            // Returns 1

3 responses to “C5_RECNO

  1. Pingback: C5DG-3 RDD Reference | Viva Clipper !

  2. Pingback: C5_SKIP | Viva Clipper !

  3. Pingback: C5_SET RELATION | 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.