ReportSection (Object)

Member of:

Sections collection

Description:

Represents a Report section.

Example 1:

This example shows how to activate the Report section in the document:

ActiveDocument.Sections["Report"].Activate()

Example 2:

This example shows how to turn off the page headers for the first page in a report:

if ( PageNm==1)
{' '}
else
{"Query Processed:  "+ Format(new Date(), "d-mmm-yyyy")}

Example 3:

This example shows how to set the print orientation of the report:

ActiveDocument.Sections["Report"].Orientation = bqOrientationPortrait
ActiveDocument.Sections["Report"].Recalculate()

Methods:

Activate(), Copy(), Duplicate(), Export([optional] Filename As String, FileFormat As BqExportFileFormat [optional], [IncludeHeaders As Boolean]), ExportToStream([optional]Filename As String, [optional] FileFormat As BqExportFileFormat, [optional] IncludeHeaders as Boolean, [optional] DataStreaming as Boolean, [optional] Prompt as Boolean, [optional) Encoding as BqEncoding} , PrintOut([optional] [FromPage As Number], ToPage As Number, Copies [optional], Filename. [optional] Boolean Prompt], Recalculate(), Remove()

Properties:

Read-only: Property Active As Boolean, Property LastPrinted as Date, Property Type As BqSectionType

Read-write: Property BottomMargin, CSSExport as Boolean, Property LeftMargin, Property Name As String, Property Orientation as BqOrientation, Property RightMargin, Property ShowOutliner As Boolean, Property ShowSortLine as Boolean, Property SuspendCalculation as Boolean, Property TopMargin, Property Visible As Boolean

Object and Coll.:

UserValues, Groups collection, ReportHeader, ReportFooter, Body