ISFILTERED()

From Lianjapedia
Revision as of 04:52, 7 December 2012 by Admin (Talk | contribs)

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

Purpose

Function to test if table has an active filter expression

Syntax

ISFILTERED([<workarea | alias>])

See Also

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

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.