statusFilter

Gets or sets a given status filter for the HFMwQueryDef object. The property accesses a collection of filters for the various journal statuses; each filter can be set to TRUE or FALSE.

Read-write.

Syntax

<HFMwQueryDef>.statusFilter(nIndex)

Argument

Description

nIndex

The index of the filter in the collection of status filters. Valid index values are represented by the HFMConstants type library constants listed in Journal Status Filter Constants.

Input argument. Integer subtype.

Example

The following snippet sets the HFMwQueryDef object to filter journals of Working status. ResetFilters sets the filters to their default state, then statusFilter turns on the filter for the Working status.

'cHFMQueryDef is an HFMwQueryDef object reference.
cHFMQueryDef.ResetFilters
cHFMQueryDef.statusFilter(WEBOM_JOURNAL_STATUS_WORKING) = TRUE