Filtering data

Filters are used to select specific records and groups in a report by applying selection formulas to the data. This section explains how to use the DataDefController class to interact with filters in a report.
Classes used for filtering data
  • com.crystaldecisions.sdk.occa.report.application.FilterController
    Modifies record, saved data, and group selection formulas to filter data in a report. Access the appropriate type of filter with the DataDefController.getRecordFilterController, DataDefController.getSavedDataFilterController , and DataDefController.getGroupFilterController methods.
  • com.crystaldecisions.sdk.occa.report.data.IFilter
    Represents a filter in a report and allows you to set the formula string.
  • com.crystaldecisions.sdk.occa.report.data.FilterItems
    An ordered array of IFieldRangeFilterItem and IOperatorFilterItem objects representing the individual components of a formula for a particular filter.