DBF RECSIZE()

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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()