FilterSetSWord()

FilterSetSWord() filters items which have the user-defined field FieldName associated with it based, on the FieldOperator and SWord Value specified.

Token ID

AFTKN_FILTER_SET_SWORD or 828

Syntax

VOID FilterSetSWord(ENUM FilterHandleType; 
                     ANSISTRING FieldName; 
                     ENUM FieldOperator; 
                     WORD FieldSWordValue; 
                     [ANSISTRING UserID])

Parameters

FilterHandleType As ENUM

Unique filter identifier, returned by FilterCreate():

  • 315 Default
FieldName As ANSISTRING

FieldOperator As ENUM

Specifies the field operator, as follows:

147

DontCare

320

Equal

321

GT

322

GTE

318

LT

319

LTE

323

NotEqual

FieldSWordValue As WORD

UserID As ANSISTRING

(Optional)