ISFILTERED()

From Recital Documentation Wiki
Revision as of 12:33, 23 March 2009 by Yvonnemilne (Talk | contribs)

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

Class

Table Basics


Purpose

Function to test if table has an active filter expression


Syntax

ISFILTERED([<workarea | alias>])


See Also

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


Description

The ISFILTERED() function tests whether a table has an active filter expression. If the optional <workarea | alias> is specified, then the function will operate on the specified <workarea | alias>. ISFILTERED() returns .T. (True) if a filter is active in the current or specified table and .F. if there is no active filter or no active table in the current or specified workarea.


Example

use patrons
set filter to event="BALLET"
? isfiltered()
.T.


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer