DBF RECSIZE()

From Lianjapedia
Jump to: navigation, search

PURPOSE

Return the record size

SYNONYM

api_dbf_recsize()

SYNOPSIS

#include "lianja_api.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 table. 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 "lianja_api.h"
 
lianjaapi_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()