Data source types: Essbase, Planning, Financial Management, Hyperion Enterprise
HypGetGlobalOption() returns information about individual Smart View workspace options.
For option descriptions, see Smart View Options. |
vtItem: Number that indicates which option is to be retrieved.
Table 16 lists the numbers of options and their return data types.
Table 16. HypGetGlobalOption Parameter Numbers and Options
Returns a number or Boolean value indicating the state of the requested option. Returns an error code if parameter item is out of range.
The following example sets the option for specifying a message level and checks whether the value set is valid.
Declare Function HypGetGlobalOption Lib "HsAddin" (ByVal vtItem As Long) As Variant Sub GetGlobal() sts = HypGetGlobalOption(5) If sts = -15 then Msgbox ("Invalid Parameter") Else Msgbox ("Message level is set to" & sts) End Sub