GetSegData

Purpose

Retrieves data from the Sort Order, formerly Line #, column of a Create Rule segment.

Syntax

Dim Company as String = Context.GetSegData(n)

Argument

Part Description
n Sort Order #. This may change if you choose to reorder or insert rows.

Example

In this example, the first segment is an input segment. This segment is where a user inputs the name of a company. The script segment for the create rule calls a copy method in which GetSegData retrieves the company name input from the first segment. Then ObjProperty can retrieve other details from that object, such as the description.