Table of contents
TOC
Collapse the table of content
Expand the table of content

ODSOFilters.Add Method (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Adds a new filter to the ODSOFilters collection.

Syntax

expression. Add( Column, Comparison, Conjunction, bstrCompareTo, DeferUpdate )

expression Required. A variable that represents an ODSOFilters object.

Parameters

NameRequired/OptionalData TypeDescription
ColumnRequiredStringThe name of the table in the data source.
ComparisonRequiredMsoFilterComparisonHow the data in the table is filtered.
ConjunctionRequiredMsoFilterConjunctionDetermines how this filter relates to other filters in the ODSOFilters object.
bstrCompareToOptionalStringIf the Comparison argument is something other than msoFilterComparisonIsBlank or msoFilterComparisonIsNotBlank, a string to which the data in the table is compared.
DeferUpdateOptionalBooleanSpecifies whether to delay updating the filter. Default is False.

See also

Concepts

ODSOFilters Object

Other resources

ODSOFilters Object Members

© 2018 Microsoft