Tag
This script function provides a way of assigning tags to one or more fields. If an attempt to tag a field name 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 fields fieldlist using mapname
Tag field fieldname with tagname
Arguments:
Argument | Description |
---|---|
fieldlist | A comma separated list of the fields that should be tagged from this point in the script. |
mapname | The name of a mapping table previously loaded in a mapping Load or mapping Select statement. |
fieldname | The name of the field 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';
Learn more
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!