EsbSetDefaultCalc() sets the default calc script for the active database.
EsbSetDefaultCalc (hCtx, cscString)
ByVal hCtx As Long ByVal cscString As String
hCtx | Essbase VB API context handle. |
cscString | Default calc script string. |
Declare Function EsbSetDefaultCalc Lib "ESBAPIW" (ByVal hCtx As Long, ByVal Script As String) As Long Sub ESB_SetDefaultCalc () Dim sts As Long Dim Script As String Script = "CALC ALL;" '***************** ' Set default calc '***************** sts = EsbSetDefaultCalc (hCtx, Script) End SubEsbDefaultCalc()