Append Method (JRO)

Jet Replication Objects

Append Method

       

Adds a new Filter object to the Filters collection of a partial Replica.

Syntax

Filters.Append(TableName [, FilterType], FilterCriteria)

Parameters

TableName   A String value specifying the name of the table to which the filter is applied with the TableName property.

FilterType   An Enum value indicating the FilterType property to determine whether the filter is based on a table or a relationship.

FilterCriteria   A String value specifying the criteria that a record must satisfy in order to be replicated from the full replica with the FilterCriteria property.

Remarks

An error will occur if the replica is not a partial replica, as defined by the ReplicaType property. An error will occur if a filter with the same name and type already exists.

An error will occur if you attempt to add a second FilterType jrFltrTypeTable with the same TableName.