mooClearErr


Clears the last error trapped by the myObjectiveOLAP library.  Subsequent calls to getLastMooErr would result in a NULL being returned until the next error.


Syntax


               mooClearErr()


Return Value

               

               BOOLEAN


Example

       


Public Sub mooClearErr()

  'Clear Errors


  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