DBFILTER()

Return the filter expression in a work area

Syntax

DBFILTER() --> cFilter

Returns

DBFILTER() returns the filter expression.

Description

This function return the expression of the SET FILTER TO command for the current or designated work area. If no filter condition is present,a NULL string will be returned.
Examples
      USE Test INDEX Test NEW
      SET FILTER TO Name= "Harbour"
      USE TestId INDEX TestId NEW
      SET FILTER TO Id = 1
      SELECT Test
      //
      ? DBFILTER()
      ? TestId->(DBFILTER())
Status

Ready

Compliance

This function is CA-Clipper compliant

Files

Library is rdd

See Also