RpReport Class
<< Click to Display Table of Contents >> RpReport Class |
![]() ![]() ![]() |
Purpose
The purpose of this class is to provide access to the ReportPro runtime from an application.
Class
CLASS RpReport
Properties
FilterExpression Access/Assign
IsValid Access
PrinterDevice Access/Assign
ReportTitle Access
ReportDescription Access
SeekExpression Access/Assign
SQLAlwaysSelectAll Access/Assign RDD/SQL & Design Only
SQLDelimiter Access/Assign RDD/SQL & Design Only
SQLDistinct Access/Assign RDD/SQL & Design Only
SQLFilterWhere Access/Assign RDD/SQL & Design Only
SQLFrom Access/Assign RDD/SQL & Design Only
SQLGroupBy Access/Assign RDD/SQL & Design Only
SQLHaving Access/Assign RDD/SQL & Design Only
SQLOrderBy Access/Assign RDD/SQL & Design Only
SQLTableWhere Access/Assign RDD/SQL & Design Only
SQLUnion Access/Assign RDD/SQL & Design Only
SQLUserCols Access/Assign RDD/SQL & Design Only
StartRec Access/Assign
Support1ofN Access/Assign
WhileExpression Access/Assign
YieldAfter Assign
Methods
Callback Methods
Description
Many of the methods, accesses and assigns of the RpReport class map directly to the primary section of the report. The primary section is defined as the first data aware section in the report. Normally, this is the first section; however, if the first report section is a Title section, the second section is the primary section.
For example, the following two lines of code are equivalent:
oRpReport:FilterExpression:="Cstmr.Name = 'SMITH'"
oRpReport:aSections[1]:FilterExpression:="Cstmr.Name = 'SMITH'"
Both assign a filter expression to the primary section.
The methods are provided at the report level for convienence and to retain compatibility with ReportPro version 1. If you need to modify attributes for subsequent sections, you must retrieve the section from the report's section list. See the discussion under Multiple Section Reports for more information.