Filter Property

Excludes records that do not meet the criteria in the specified expression. Available at design time; read/write at run time.

DataEnvironment.Cursor.Filter[ = cExpr]

Return Value

  • cExpr
    Any Visual FoxPro expression, typically an expression that operates on a set of records.

Remarks

Applies To: Cursor Object | CURSORSETPROP( ) Function

Mimics the behavior of SET FILTER.

Note

When the Cursor object is accessed using CURSORSETPROP( ), the Filter property is read-only at run time.

See Also

Reference

SET FILTER Command

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)