Toggles the state of the current filter that has been applied to the data access page. If the filter is active, calling this method deactivates the filter. Calling this method a second time reapplies the filter.
expression.ToggleFilter
expression Required. An expression that returns a DataPage object.
This example toggles the filter on the first data access page in the data source control named MSODSC.
MSODSC.DataPages(0).ToggleFilter