AssociatePrimary
Associates IDEA table with the primary input file of audit test.
Compatibility
Available as of IDEA version 12.0
Syntax
AssociatePrimary(testId As String)
Parameters
testId
Audit Test ID (Guid) represented as String.
Remarks
If the primary input file of audit test has no association, a new association is created.
If the primary input file of audit test already has an association, this association gets overwritten with a new association.
If the primary 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.AssociatePrimary(atId)
End Sub