CdbRecordset::SetFilter, GetFilter Property

Sets or returns a value that determines the records included in a subsequently opened Recordset object. The value is a string that contains the WHERE clause of an SQL statement without the reserved word WHERE.

Syntax

CStringGetFilter(VOID);

VOIDSetFilter(LPCTSTR pstr);

Set Parameters

Type Example Description
LPCTSTR pstr A pointer to a string that contains the WHERE clause of an SQL statement without the reserved word WHERE.