wrap_GetDML


A low level API that retrieves the output from the Oracle OLAP environment after  execution of a DML statement via the wrap_runNonQ function.


Because no output is requested wrap_GetDMML is often used in conjunction with wrap_runNonQ but only called when an error condition is detected within the Visual Basic for Applications client module.


Syntax


               wrap_getdml


Return Value


               STRING


Example



Public Sub wrap_runNonQ()

'Example of wrap_runNonQ and wrap_GetDML



Dim boo As Boolean


If Not oregistered Then:   boo = regQ:


'Check Im connected if not connect

If Not o.connected Then

   boo = o.connect

   boo = o.connected

   Else

   boo = True

End If


If boo = True Then

   boo = o.wrap_runNonQ("shw tod")

   If boo = True Then

      Debug.Print (o.wrap_getDML)

   Else

   Debug.Print o.getLastMooErr

   End If

Else

   'Something went wrong print any error information

   Debug.Print "Unable to Connect"

   Debug.Print o.getlastmooerr

End If


End Sub