Skip to main content

Tag

ON THIS PAGE

Tag

This script statement provides a way to assign tags to one or more fields or tables. If an attempt to tag a field or table not present in the app is made, the tagging will be ignored. If conflicting occurrences of a field or tag name are found, the last value is used.

Syntax:  

Tag [field|fields] fieldlist with tagname


Tag [field|fields] fieldlist using mapname


Tag table tablelist with tagname

 

Arguments
Argument Description
fieldlist One or several fields that should be tagged, in a comma separated list.
mapname The name of a mapping table previously loaded in a mapping Load or mapping Select statement.
tablelist A comma separated list of the tables that should be tagged.
tagname The name of the tag that should be applied to the field.

Example 1:  

tagmap:

mapping LOAD * inline [

a,b

Alpha,MyTag

Num,MyTag

];

tag fields using tagmap;

Example 2:  

tag field Alpha with 'MyTag2';