DBF RECNO()

From Recital Documentation Wiki
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()