DBF RECNO()

From Recital Documentation Wiki
Revision as of 17:21, 27 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

PURPOSE

Return the current record number


SYNONYM

api_dbf_recno()


SYNOPSIS

#include "dbapi.h"
 
int	DBF_RECNO()
 
<input parameters>
none
 
<output parameters>
none


DESCRIPTION

The DBF_RECNO() function will return the current record number from the currently selected database.


EXAMPLE

The following example returns the current record number

#include "dbapi.h"
 
dbapi_dbf_recno()
{
    int	recno;
 
    recno = DBF_RECNO();
 
    _retl( recno );
}


SEE ALSO

DBF_GOTO(), DBF_ISBOF(), DBF_ISEOF(), DBF_RECCOUNT(), DBF_SEEK(), DBF_SKIP(), FIELD_COUNT(), MEMO_MLCOUNT()