ExecuteBScript (Method)

Applies To:

Application

Description:

Executes Interactive Reporting Studio old scripting language commands. By default, all old scripts are wrapped by this function when they are converted from an old Interactive Reporting document fjle.

Syntax:

Expression.ExecuteBScript(Script As String)

Expression Required:

An expression that returns an Application object

Example:

This example shows a translated 5.x script:

Commands can be separated by (;) semicolons or placed on individual lines:

ExecuteBScript("set logon root, 'OCENAME', 'test.oce'")
ExecuteBScript("connect logon root; show doc root, 'sectiontab'; hide doc root, 'requestline'")