DBF RECSIZE()

From Recital Documentation Wiki
Jump to: navigation, search

PURPOSE

Return the record size


SYNONYM

api_dbf_recsize()


SYNOPSIS

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


DESCRIPTION

The DBF_RECSIZE() function will return the length of the record size in the currently selected database. The size will be the sum of all the field storage sizes plus 1 character for the deletion marker in the record.


EXAMPLE

The following example returns the record size.

#include "dbapi.h"
 
dbapi_dbf_recsize()
{
    int	size;
 
    size = DBF_RECSIZE();
 
    _retni( size );
}


SEE ALSO

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