Retrieves the parent of the Topic item, which is the Topic Name in a join or local join. It also enables you to retrieve the Topic Item Names of joins (and not local joins).
This example shows how to retrieve the topic names 1 and 2 from a join.
//Get Join Topic Names TextBox1.Text=ActiveDocument.Sections["Query"].DataModel.Joins["1"].Topic1Name; TextBox2.Text=ActiveDocument.Sections["Query"].DataModel.Joins["1"].Topic2Name; TextBox3.Text=ActiveDocument.Sections["Query"].DataModel.Joins["1"].Type;
This example shows how to retrieve the Topic Item Names from a join.
/Get Join Topic Item Names TextBox4.Text=ActiveDocument.Sections["Query"].DataModel.Joins["1"].TopicItem1.DisplayName TextBox5.Text=ActiveDocument.Sections["Query"].DataModel.Joins["1"].TopicItem2.PhysicalName
This example shows how to retrieve the topic names 1 and 2 from a local join.