Deletes a drill-through URL, with the given URL name, within the active database outline.
Syntax
Declare Function EsbDeleteDrillThruURL Lib "esbapin" (ByVal hCtx As Long, ByVal URLName As String) As Long
Parameter | Description |
---|---|
hCtx | Visual Basic API context handle |
URLName | Drill-through URL name |
Return Value
If successful, deletes the named drill-through URL in the active database outline.
If unsuccessful, returns an error code.
Access
Caller must have database Design privilege (ESB_PRIV_DBDESIGN) for the specified database.
Caller must have selected the specified database as their active database using EsbSetActive().
Example
Sub ESB_DeleteGLDrillThru() Dim URLName As String URLName = "VB URL7" sts = EsbDeleteDrillThruURL(hCtx, URLName) Debug.Print "EsbDeleteDrillThruURL sts: " & sts End Sub
See also an extended example in Drill-through Visual Basic API Example.