AttrPutS
Description:
Assigns a value to a string element attribute.
Syntax:
AttrPutS(Value, DimName, ElName, AttrName);
Arguments:
Value - Attribute value
DimName - Dimension name in which this attribute exists
ElName - Element name in which to set value
AttrName - Attribute name
Return Type:
Nothing
Example:
AttrPutS('January', 'Months', 'Jan', 'FullName');
It will assign value January to attribute FullName in Months dimension for element Jan.
Following code adds Continent attribute to Locations dimension’s element India:
ATTRPUTS(‘Asia’,’Locations’,’India’,’Continent’);