Difference between revisions of "DBF RECCOUNT()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
m (Text replace - "lianjaapi.h" to "lianja_api.h")
 
Line 7: Line 7:
 
==SYNOPSIS==
 
==SYNOPSIS==
 
<code lang="c">
 
<code lang="c">
#include "lianjaapi.h"
+
#include "lianja_api.h"
  
 
int DBF_RECCOUNT()
 
int DBF_RECCOUNT()
Line 25: Line 25:
  
 
<code lang="c">
 
<code lang="c">
#include "lianjaapi.h"
+
#include "lianja_api.h"
  
 
lianjaapi_dbf_reccount()
 
lianjaapi_dbf_reccount()

Latest revision as of 07:02, 11 April 2013

PURPOSE

Return the number of records

SYNONYM

api_dbf_recccount()

SYNOPSIS

#include "lianja_api.h"
 
int	DBF_RECCOUNT()
 
<input parameters>
none
 
<output parameters>
none

DESCRIPTION

The DBF_RECCOUNT() function will return the number of records in the currently selected table.

EXAMPLE

The following example goes to the last record in the table.

#include "lianja_api.h"
 
lianjaapi_dbf_reccount()
{
    int	rc;
 
    rc = DBF_GOTO( DBF_RECCOUNT());
}

SEE ALSO

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