Syntax
DbFilter() --> cFilterArguments
None.
Return value
The filter expression as text, or an empty string when no filter is active.
Description
DbFilter() returns the expression currently restricting records in the current work area. It does not evaluate or change the filter.
Notes
With no open work area, the result is an empty string.
Example
PROCEDURE Main()
QOut( "Filter: " + IIF( Empty( DbFilter() ), "EMPTY", DbFilter() ) )
RETURNOutput