FIELD COUNT()
From Lianjapedia
Revision as of 06:34, 11 April 2013 by Yvonne.milne (Talk | contribs)
PURPOSE
Return the number of fields
SYNONYM
api_field_count()
SYNOPSIS
#include "lianjaapi.h" int FIELD_COUNT() <input parameters> none <output parameters> none
DESCRIPTION
The FIELD_COUNT() function will return the number of fields in the currently selected table.
The command SET FIELDS TO will be reflected in the value returned by the FIELD_COUNT() function.
EXAMPLE
The following example returns the number of fields in the current table.
#include "lianjaapi.h" lianjaapi_field_count() { int fldnum; fldnum = FIELD_COUNT(); _retni( fldnum ); }
SEE ALSO
BLOB_SIZE(), DBF_RECCOUNT(), DBF_RECSIZE(), FIELD_LOOKUP(), FIELD_NAME(), FIELD_NAME(), FIELD_UPDATE(), FIELD_VALUE(), MEMO_MLCOUNT(), MEMO_SIZE()