Click or drag to resize

ICommenceDatabaseViewFilter Method

Defines the criteria for the multiple filter to be applied against the previously named category/view (see ViewCategory/ViewView). This is by far the most complicated API method to use. Unless you are actually creating views from code, you are strongly advised to use the Filters collection of the CommenceCursor class instead.

Namespace:  Vovin.CmcLibNet.Database
Assembly:  Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntax
bool ViewFilter(
	int clauseNumber,
	string filterType,
	bool notFlag,
	Object args
)

Parameters

clauseNumber
Type: SystemInt32
ClauseNumber defines which filter clause is being defined, where ClauseNumber is between 1 and 8.
filterType
Type: SystemString
FilterType sets the type of the filter to apply. Valid filterTypes are F, CTCF, CTI and CTCTI.
notFlag
Type: SystemBoolean
NotFlag determines if a logical Not is applied against the entire clause.
args
Type: SystemObject
String array of filtertype parameters. See Commence DDE documentation

Return Value

Type: Boolean
true on success, inspect GetLastError on failure.
See Also