GetTagging
Instantiates a Tagging component. This component provides a number of methods related to tagging of IDEA tables and creating associations between audit tests and IDEA tables
Compatibility
Available as of IDEA version 12.0
Syntax
GetTagging(tablePath As String)
Parameters
tablePath
Path of IDEA database the component operates on. The relative path is relative to the current IDEA working folder.
Return Value
Returns a new instance of Tagging component
Remarks
Tagging component implements the following members:
| Method | Description |
|---|---|
| GetTag | Returns the ID of the tag assigned to table field. |
| GetFieldName | Returns the name of the table field assigned to tag. |
| RemoveTag | Unassigns tag from table field. |
| RemoveAllTags | Deletes all tags assigned to table fields. |
| SetTag | Assigns tag to table field. |
| Save | Persists results of setting and/or removing tags. |
| AssociatePrimary | Associates IDEA table with primary input file of audit test. |
| AssociateSecondary | Associates IDEA table with secondary input file of audit test. |
| ImportTags | Imports tags from file and applies them to table. |
Example
Sub Main()
Dim ac As Object
Dim tagging As Object
Set ac = CreateObject("SmartAnalyzer.AutomationClient")
Set tagging = ac.GetTagging("Sample-Weblog")
. . .
End Sub