ArchiveFilters

 

Remarks Properties Methods Samples

ED
not used
RT
avaliable

Remarks:Top

This collection administers all filter objects.

HINT: As a default there are no filters. You can administer any number of filters.

With "CreateArchiveFilter" you can create a new filter. On the contrary, you can delete an existing filter with "DeleteArchiveFilter".

Like in any other collection you can access an ArchiveFilter object with the "Item" method.

Properties:Top

Count Parent  

Methods:Top

CreateArchiveFilter DeleteArchiveFilter Item

Samples:Top

Sub zenOn_ArchiveFilters()
	'Declarations
	Dim zArvFilters As ArchiveFilters
	Dim zArvFilter As ArchiveFilter
	Dim i As Integer

	'Initialize zArvFilters with the archive filter collection of the first available archive
	Set zArvFilters = thisProject.Archives.Item(0).ArchiveFilters

	'For every archive filter within the collection ...
	For i = 0 To zArvFilters.Count - 1
		'... assign it to zArvFilter
		Set zArvFilter = zArvFilters.Item(i)
		'If the filter is available (zArvFilter is not "Nothing")...
		If Not (zArvFilter Is Nothing) Then
			'... then initiate the filtering
			zArvFilter.Query
		End If
	Next i

End Sub