Document (Object)

Member of:

Documents collection, Application object

Description:

Contains the content of the file (document) created byInteractive Reporting that you store on your computer. Each Interactive Reporting document contains multiple sections.

Note:

The Document.Close() and Documents.Open() syntax are not supported in EPM Workspace.

Example 1:

This example shows how to references a document object that enumerates the document object or reference to the ActiveDocument object. myDoc refers to the same document object:

myDoc = Documents[1] or
myDoc = Documents["Testdoc.bqy"] or
if "Testdoc.bqy" is the current document then
myDoc = ActiveDocument

Example 2:

In this example, the Section Title bar is disabled in the ActiveDocument, and the document saved with a new name:

ActiveDocument.ShowSectionTitlebar = false
ActiveDocument.SaveAs("d:\\Hyperion Docs\\Updated File.bqy")
ActiveDocument.Close()

Methods:

Activate(), AddExportSection(SectionName As String), Close([optional] SaveChanges As Boolean]), Export([optional]Filename As String, [optional]FileFormat As BqExportFileFormat, [optional] Prompt As Boolean]), InterruptQueryProcess(), OnPostProcess(), OnPreProcess(), OnShutdown(), OnStartup(), ProcessAll(), RemoveExportSection(), Save([optional] bCompressed As Boolean), SaveAs([optional] Filename As String, bCompressed As Boolean, [optional] Prompt As Boolean],

Properties:

Read-only: Property Accessibility as Boolean, Property Active As Boolean, Property Name As String, Property Path As String, Property ProcessEventOrigin as BqProcessEventOriginType, Property QueryInProcess as String

Read-write: Property ShowCatalog As Boolean, Property ShowSectionTitleBar As Boolean

Collections:

Sections As Sections, Events as Events, UserValues as UserValues

Object:

LastSaved As LastSaved