DBF FILTER()

From Recital Documentation Wiki
Revision as of 10:42, 30 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

PURPOSE

Return filter condition


SYNONYM

api_dbf_filter()


SYNOPSIS

#include "dbapi.h"
 
char	*DBF_FILTER()
 
<input parameters>
none
 
<output parameters>
none


DESCRIPTION

The DBF_FILTER() function will return the filter condition from the currently active database as character string, or a NULL string if none is specified.


EXAMPLE

The following example checks for a filter condition and removes it.


#include <stdio.h>
#include "dbapi.h"
 
dbapi_dbf_filter()
{
    char	*condition;
 
    condition = DBF_FILTER();
 
    if ( condition != NULL)
       COMMAND( "set filter to" );
}


SEE ALSO

COMMAND(), DBF_ALIAS(), DBF_DBF(), DBF_DELETED(), DBF_FETCH(), DBF_FMT(), DBF_INDEXKEY(), DBF_INDEXORDER(), DBF_NDX(), DBF_SELECT(), DBF_USED(), FIELD_COUNT(), FIELD_LOOKUP()