CdbTableDef::SetReplicaFilter, GetReplicaFilter Property

Sets or returns a value on a TableDef object within a partial replica that indicates which subset of records is replicated to that table from a full replica. (Microsoft Jet databases only.)

Syntax

VOIDSetReplicaFilter(LPVARIANT pv);

COleVariantGetReplicaFilter(VOID);

Set Parameters

Type Example Description
LPVARIANT pv A pointer to a variant whose value is a string or Boolean that indicates which subset of records is replicated as described in Settings.

Settings

Value Description
A string A criteria that a record in the partial replica table must satisfy in order to be replicated from the full replica. This property is similar to an SQL WHERE clause (without the reserved word WHERE), but you cannot specify subqueries, aggregate functions (such as Count), or user-defined functions within the criteria.
TRUE Replicates all records.
FALSE (Default) Doesn't replicate any records.