2.9.87 FilterDataItem

The FilterDataItem structure contains data that is used to filter a list of mail merge recipients.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cbItem

iColumn

iComparisonOperator

iCondition

rgwchFilter (variable)

...

cbItem (4 bytes):  An unsigned integer that specifies the size, in bytes, of this FilterDataItem.

iColumn (4 bytes):  An unsigned integer that specifies the zero-based index of the database column to which this filter applies. This value MUST be greater than or equal to zero and MUST be less than or equal to 254.

iComparisonOperator (4 bytes):  An unsigned integer that specifies the comparison operator to be used for the comparison. This MUST be one of the following values.

Value

Meaning

0x00000000

Equal.

0x00000001

Not equal.

0x00000002

Less than.

0x00000003

Greater than.

0x00000004

Less than or equal.

0x00000005

Greater than or equal.

0x00000006

Empty.

0x00000007

Not empty.

iCondition (4 bytes): An unsigned integer that specifies how this comparison is combined with other comparisons in the filter. This value MUST be 0 (logical AND) or 1 (logical OR).

rgwchFilter (variable):  A Unicode string that specifies the value to be used as the basis for the comparison. The string is null-terminated and MUST contain no more than 212 characters.