PrintEntireReport Property
Sets or returns whether to print the entire
report, including all displays, layers, and rows.
Syntax
Print.PrintEntireReport
Applies To
Discussion
Print options are initialized to the options saved with the report. Unless a print macro overrides a property, its state will correspond to the way in which the author saved the report.
Only one of the print properties PrintEntireReport, PrintPageLayout, and PrintSelectedDisplays can be true at one time.
If true, the entire report, including all displays, layers, and rows, will print.
Type
Boolean
Access
Read/Write
Example
This example opens and prints an entire report. It also includes the summary row and column categories on all pages.
Sub Main()
Dim objPPRep as Object
Dim objRepPrt as Object
Set objPPRep = CreateObject("CognosPowerPlay.Report")
objPPRep.Open "C:\Cubes and Reports\Sample1.ppx"
Set objRepPrt = objPPRep.Print
objRepPrt.PrintEntireReport = True
objRepPrt.SummaryRowOnAllPages = True
objRepPrt.SummaryColumnOnAllPages = True
objRepPrt.PrintOut
Set objRepPrt = Nothing
Set objPPrep = Nothing
End Sub