DBF FMT()
From Recital Documentation Wiki
Revision as of 10:38, 30 March 2009 by Yvonnemilne (Talk | contribs)
PURPOSE
Return the format file name
SYNONYM
api_dbf_fmt()
SYNOPSIS
#include "dbapi.h" char *DBF_FMT() <input parameters> none <output parameters> none
DESCRIPTION
The DBF_FMT() function will return the name of the currently active screen format file as a character string, or a NULL string if none is active. The DBF_FMT() function returns the format file name in lower case including the file extension.
EXAMPLE
The following example checks for a screen format file and removes it.
- include <stdio.h>
#include "dbapi.h" dbapi_dbf_fmt() { char *format; format = DBF_FMT(); if (format != NULL) COMMAND( "set format to" ); }
SEE ALSO
COMMAND(), DBF-ALIAS(), DBF_DBF(), DBF_DELETED(), DBF_FETCH(), DBF_FILTER(), DBF_INDEXKEY(), DBF_INDEXORDER(), DBF_NDX(), DBF_SELECT(), DBF_USED(), FIELD_COUNT(), FIELD_LOOKUP()