Cadcorp SIS API Methods

ChangeValueListFilter Method

Description

Include or exclude a list of values from a Value-list Filter.

Syntax

Visual Basic
Public Function ChangeValueListFilter( _
   ByVal filter As String, _
   ByVal flag As Integer, _
   ByVal listval As String _
) As Integer

Parameters

filter
The named Value-list Filter to change, previously created using CreateValueListFilter.
flag
SIS_FILTERRESET    Reset the value in the filter.
SIS_FILTERADD    Add to the filter.
SIS_FILTERREMOVE   Remove from the filter.
listval
A space-, comma-, tab- or newline-separated list of values to add or remove.

Remarks

A Value-list Filter will only work on integer properties, i.e. those with names ending in '&'.

Available: GEO MD ME MM OD OM SISpy

Group:

Example

sis.ChangeValueListFilter ("Rate Values", SIS_FILTERRESET, "10, 30, 50")


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).