Represents documents that users are currently viewing.
Access the active document using this syntax:
Application.ActiveDocument
To access any document, specify this syntax:
Application.Documents["Document Name.bqy"]
This example indicates how to save and close documents under new names:
Activate(), AddExportSection(SSectionName 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() RemoveExportSections(), Save([optional] bCompressed as Boolean), SaveAs[(optional] Filename as String, [optional] bCompressed as Boolean, [optional] Prompt as Boolean], SaveToRepository, SaveToRepositoryAS (String Filename, [optional] String Filedesc, [optional] Boolean bOverride)
Read only: Property Accessibility as Boolean, Property Path as String, Property ProcessEventOrigin as BqProcessEventOriginType, QueryInProcess as String
Read-write: Property Active as Boolean, Property Name as String, Property ShowCatalog as Boolean, Property ShowSectionTitleBar as Boolean
Sections as Section, Events as Event, UserValues as UserValues