Harbour Reference Guide

 

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

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30