BtServer:Recno Access

 

<< Click to Display Table of Contents >>

Navigation:  Server Classes > BtServer Class >

 

BtServer:Recno Access

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Get current record number

 

 

 

Prototype

 

 

ACCESS Recno CLASS BtServer

 

 

 

Return

 

 

DWORD                Current record number

 

 

 

Description

 

 

The value returned is an internal Btrieve marker that is useful for saving, then restoring a physical position in a table. It cannot be used for logical positioning in the table in the same way that RECNO() for a DBF can be used.

 

 

 

Example(s)

 

 

* Save current record

nOldRec := oServer:Recno

* Retrieve new record

oServer:Seek(...)

 .

 .           // Do stuff

 .

* Go back to original record

oServer:Goto(nOldRec)

 

 

 

 

See Also

 

 

BtServer, BtServer:Goto()