AssociateSecondary
Associates IDEA table with secondary input file of audit test.
Compatibility
Available as of IDEA version 12.0
Syntax
AssociateSecondary(testId As String, inputFileAlias As String)
Parameters
testId
Audit Test ID (Guid) represented as String.
inputFileAlias
Alias of secondary input file (case insensitive).
Remarks
If the secondary input file with specified alias does not exist, alias is ignored.
If the secondary input file of audit test has no association, a new association is created.
If the secondary input file of audit test already has an association, this association gets overwritten with a new association.
If the secondary input file requires a direct (non-tag based) association, it gets created as well.
Example
Sub Main()
Dim ac As Object
Dim tagging As Object
Set ac = CreateObject("SmartAnalyzer.AutomationClient")
Set tagging = ac.GetTagging("Sample-Weblog")
Tagging.SetTag "CustomerName", "USER"
Tagging.SetTag "DebtorAmount", "DURATION"
Tagging.Save False
atId = "9a2bf818-b54c-562f-b85b-dbaca6ead039"
Tagging.AssociateSecondary(atId, "input2")
End Sub