HypUseLinkMacro

Data source types: Essbase, Planning (ad hoc only), Financial Management (ad hoc only), Hyperion Enterprise (ad hoc only)

Description

HypUseLinkMacro() is used to set the flag to specify the type of link view, static or dynamic.

Note:

Static and dynamic link views share the same menu option; therefore, it is necessary to turn the flag on before performing the dynamic link query. Once done with dynamic link views, turn the flag off.

Syntax

HypUseLinkMacro (bSetView)

ByVal bSetView as Boolean

Parameters

bSetView: When flag is set to true, dynamic link is performed. When the flag is set to false, static link is performed.

Return Value

Returns 0 if successful; otherwise, returns the appropriate error code.

Example

Declare Function HypUseLinkMacro Lib "HsAddin" (ByVal bUse As Boolean) As Long

Sub Macro()
   Sts = HypUseLinkMacro(True)
End sub