Difference between revisions of "DBFILTER()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
==Class==
 
Table Basics
 
  
  

Revision as of 14:56, 27 October 2009


Purpose

Function to return the filter expression


Syntax

DBFILTER([<workarea | alias>])


See Also

FILTER(), SET DELETED, SET FILTER, SET VIEW


Description

The DBFILTER() function will return, as a character string, the current filter condition or a null string if no filter is set. If the <workarea | alias> is specified, then the function will return the active filter condition for the specified alias. The command SET FILTER ON | OFF has no affect on the DBFILTER() function.


Example

use patrons
set filter to event="BALLET"
? "[" + dbfilter() + "]"
[event="BALLET"]
? type("dbfilter()")
C


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer