mooSetBadLine {function}

 

 

Example of an Excel VBA application using the mooSetBadLine function:

 

 

 

Public Sub mooSetBadLine()

 

  'Sets the Badline Option in Oracle OLAP

 

  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

 

  'Connected so execute

  If boo = True Then

    boo = o.mooSetBadLine("YES")

    boo = o.wrap_runNonQ("show BadLine"): Debug.Print (o.mooGetDML)

  Else

    'Something went wrong print any error information

    Debug.Print "Unable to Connect"

    Debug.Print o.getlastmooerr

  End If

End Sub

 

 

Sets the Oracle OLAP BADLINE option

 

Syntax

 

 

   moosetbadline(“ [yes|no] ”)

Microsoft®, WINDOWS®, Microsoft Excel®, Microsoft Office® are registered trademarks of Microsoft Corporation.

ORACLE® is a registered trademark of ORACLE Corporation.

® SDMC Consulting Limited 2010