Skip to content
Apr 19 / Administrator

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.



One Comment

leave a comment
  1. Code Snippets / Apr 24 2012

    Following code adds Continent attribute to Locations dimension’s element India:

    ATTRPUTS(‘Asia’,’Locations’,’India’,’Continent’);

Leave a Comment

Thank you for Downloading.

Please input valid email id so that we can send you download link.

Email id Required.

We respect your privacy and never share your email id with anybody.