getLastMooErr()


Returns the text of any error trapped by the myObjectiveOLAP library.  This includes errors that were not handed over to the Oracle OLAP environment as the API determined the construct was invalid.


Syntax


               getLastMooError()


Return Value


               STRING


Example



Public Sub mooClearErr()

'Get Last Recorded Error


If Not oregistered Then:   boo = regQ:

   Debug.Print o.getlastmooerr   'Show the last Error

   Debug.Print o.mooClearErr     'Clear all error messages

   Debug.Print o.getlastmooerr   'show that all error messages have been cleared

End Sub