Returns a syntactically valid representation of a member list, dimension member, or function.
When specifying dimension values, you must follow the same syntax rules for specifying member lists, members, and functions that the user interface requires. Using buildValue enables you to build valid dimension values without having to perform tasks such as concatenating delimiters and required special characters.
For example, if you pass a member list name and a top member, buildValue returns a dimension value that includes the braces ( {} ) required to specify member lists and the period ( . ) that delimits the labels of the top member and the member list.
You can use the return value to specify dimension values with AttrAll, AttrDim, and HFMwMbrSelDim.Attr. |
<HFMwMbrSel>.buildValue (lEnumType, bstrMajor, bstrMinor)
A flag that indicates the type of dimension value to return. Pass one of the HFMConstants type library constants listed in Dimension Value Type Constants. | |
The label of the member list, dimension member, or function. | |
Pass one of the following values: |
Returns a string that contains the dimension value.
The following example returns the string “{Quarter1.[Hierarchy]}”.