Language Reference Guide : 4. System Classes : FieldObject Class : GetTagText Method
 
Share this page                  
GetTagText Method
The GetTagText method returns a string containing the text of the TaggedValue associated with the supplied tag name or row number in the TaggedValues array of this method.
This method has the following syntax:
varchar(maxsize) = FieldObject.GetTagText(tag = varchar(256) |
          row = integer
This method has the following variable and parameters:
FieldObject
Specifies the field object
tag
(Either this parameter or row is required.) Specifies the name of the tag in the TaggedValues array.
row
(Either this parameter or tag is required.) Specifies the row number in the TaggedValues array.
This method returns a string containing the text of the TaggedValue, or an empty string if the entry for this tag or index is not present. The returned value is truncated if necessary to the declared size of the variable to which it is returned. The method returns an empty string if the entry for this tag or index is not present.