HypGetPOVCount

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

Description

HypGetPOVCount() returns the number of dimensions in the POV from the dynamic link query.

Note:

This function is used specifically with dynamic link views, as described in VBA Functions and Dynamic Link Views.

Syntax

HypGetPOVCount()

Return Value

Returns the number of column dimensions if successful; otherwise, returns the negative error code.

Example

Declare Function HypGetPOVCount Lib "HsAddin" () As Long

Sub Macro()
   Dim vtGrid as Variant
   Sts = HypConnect(Empty, "system", "password", "MyDemoBasic")
   Sts = HypRetrieve(Empty)
   Range (“B2”).Select
   Sts = HypGetSourceGrid (Empty, vtGrid)
   Sts = HypGetPOVCount ()
End sub