ArchiveFilterVariables

 

Remarks Properties Methods Samples

ED
not used
RT
avaliable

Remarks:Top

Returns an "ArchiveFilterVariables" object, containing a collection of the filtered archive variables.

This object is utilized by the "ArchiveFilter" object, in order to access the collection of "ArchiveFilterVariable" objects.

Properties:Top

Count Parent  

Methods:Top

Item ItemById ItemByIdEx

Samples:Top

Sub zenOn_ArchiveFilterVariables(ByRef zArvFilter As ArchiveFilter)
	'Declarations
	Dim zArvFilterVars As ArchiveFilterVariables
	Dim i As Integer

	'Initialize zArvFilterVars with the filtered archive variable collection of the current archive
	Set zArvFilterVars = zArvFilter.ArchiveFilterVariables

	'If no filtered archive variables are available ...
	'HINT: Filtered archive variables are only availabe after a archive filter query was initiated
	If zArvFilterVars Is Nothing Then
		'... then inform the user
		MsgBox ("No filtered archive variables available!")

	'Otherwise:
	Else
		'For every filtered archive variable ...
		For i = 0 To zArvFilterVars.Count - 1
			'... output the name
			Debug.Print i + 1 & ". Variable: " & zArvFilterVars.Item(i).ArchiveVariable.Name
		Next i
	End If
End Sub