Difference between revisions of "ISFILTERED()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Function to test if table has an active filter expression
 
Function to test if table has an active filter expression
Line 27: Line 25:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 16:42, 2 December 2009

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 Server, Recital