The following are shared by both IRowsetFind and IViewFilter:
typedef DWORD DBCOMPAREOP;
enum DBCOMPAREOPSENUM {
DBCOMPAREOPS_LT = 0,
DBCOMPAREOPS_LE,
DBCOMPAREOPS_EQ,
DBCOMPAREOPS_GE,
DBCOMPAREOPS_GT,
DBCOMPAREOPS_BEGINSWITH,
DBCOMPAREOPS_CONTAINS,
DBCOMPAREOPS_NE
};
CompareOp | Meaning |
DBCOMPAREOPS_LT | Match the first value less than the search value. |
DBCOMPAREOPS_LE | Match the first value less than or equal to the search value. |
DBCOMPAREOPS_EQ | Match the first value equal to the search value. |
DBCOMPAREOPS_GE | Match the first value greater than or equal to the search value. |
DBCOMPAREOPS_GT | Match the first value greater than the search value. |
DBCOMPAREOPS_BEGINSWITH | Match the first value that has the search value as its first characters. This is valid only for values bound as string data types. |
DBCOMPAREOPS_CONTAINS | Match the first value that contains the search value. This is valid only for values bound as string data types. |
DBCOMPAREOPS_NE | Match the first value that is not equal to the value. |
DBCOMPAREOPS_IGNORE | Ignore the corresponding value. When used with FindNextRow, the provider ignores pFindValue and returns the next cRows rows from the current FindNextRow position, skipping one row if fSkipCurrent is TRUE. When used with SetFilter, the provider ignores the corresponding member in pCriteriaData. |