Contents Index Topic Contents |
FilterCriterion Property
Sets or returns which evaluation operator to use in the filter value.
Syntax
DataControl.FilterCriterion = String
Part Description DataControl An object variable that represents an RDS.DataControl object. String A String value that specifies the evaluation operator of the FilterValue to the records. Can be any one of the following: <, <=, >, >=, =, <>.
Applies To
Remarks
The SortColumn, SortDirection, FilterValue, FilterCriterion, and FilterColumn properties provide sorting and filtering functionality on the client-side cache. The sorting functionality orders records by values from one column. The filtering functionality displays a subset of records based on a find criteria, while the full recordset is maintained in the cache. The Reset method will execute the criteria and replace the current recordset with a read-only recordset.
The != operator is invalid for FilterCriterion; instead, use <>.
If both the filter and sort properties are set and you call the Reset method, the rowset is first filtered and then it is sorted. For ascending sorts, the NULLs are at the top, descending sorts NULLs are at the bottom (ascending is default behavior).
See Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.