EsbCreateDrillThruURL

Creates a drill-through URL, with the given link and the name, within the active database outline.

Drill-through URL Limits.

Syntax

Declare Function EsbCreateDrillThruURL Lib "esbapin" (ByVal hCtx As Long, ByRef symRegions() As String, ByRef pUrl As ESB_DURLINFO_T) As Long
ParameterDescription

hCtx

Visual Basic API context handle

symRegions()

Array containing the symmetric region specification

pUrl

URL definition

Return Value

Access

Example

Sub ESB_CreateGLDrillThru()
   Dim sts                       As Long
   Dim url                       As ESB_DURLINFO_T
   Dim cppDrillRegions(0 To 1)   As String

   '***************************************************************
   ' Need to create a local context, if files are not on the server
   '***************************************************************
   url.bIsLevel0 = 0

   cppDrillRegions(0) = "sales"
   cppDrillRegions(1) = "cogs"
   url.cpURLXML = "Testing"
   url.cpURLName = "VB URL7"
   url.iURLXMLSize = 8

   sts = EsbCreateDrillThruURL(hCtx, cppDrillRegions, url)

   Debug.Print "EsbCreateDrillThruURL sts: " & sts
End Sub

See also an extended example in Drill-through Visual Basic API Example.