Difference between revisions of "DBF FILTER()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 28: | Line 28: | ||
The following example checks for a filter condition and removes it. | The following example checks for a filter condition and removes it. | ||
− | + | ||
<code lang="c"> | <code lang="c"> | ||
+ | #include <stdio.h> | ||
#include "dbapi.h" | #include "dbapi.h" | ||
Line 45: | Line 46: | ||
==SEE ALSO== | ==SEE ALSO== | ||
− | [[COMMAND()]], [[ | + | [[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()]] |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:SDK]] | [[Category:SDK]] |
Latest revision as of 10:42, 30 March 2009
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()