Example of an Excel VBA application using the getLastMooErr function:
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
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..
Microsoft®, WINDOWS®, Microsoft Excel®, Microsoft Office® are registered trademarks of Microsoft Corporation.
ORACLE® is a registered trademark of ORACLE Corporation.
® SDMC Consulting Limited 2010