Class: WinReport
JT
Class Hierarchy:
cObject

Report


Report_DS



BasicReport




WinReportClass Definition
Properties
Integer
AutoNew_Page_State
JT
This determines if a DFNew_Page should be executed when the
report starts. In some rare cases, you would not want this to
occur until a subheader
Integer
AutoOutput_State
JT
If true, report is output upon completion. Either preview
or printer depending on output_device_mode
Integer
Print_Columns
JT
When a new page is created (DFNew_Page) and the number
of columns is not passed, this is used.
Integer
Private.Output_Device_Mode
JT
Output device (print or preview). Normally this is delegated to
the report view.
Date
RptToday
Functions and Procedures

Add_SubTotal(Integer iCounter Number nData)
*** JT - Note that RptTotal_1-10 and Add_RptTotal an
*** clr_rpttotal have been removed.
*** JT - All subtotal commands have been modified so that they
*** use the outer main report. This makes it easier to keep
*** track of these numbers

Close_Output_Device()
JT
Cancel RO behavior - there is no device to close

Clr_AllSubTotals()

Clr_SubTotal(Integer iCounter)

Construct_Object()

DFNew_Page(Integer Cols)
Note: Cols is optional. If no argument is passed it will use
the object's property Print_Columns (0 by default)

DFPreview()
JT
Ask WinPrint to preview the report

DFPrint()
JT
Ask WinPrint to print the report to printer

DFPrintDoc()
DL on 1997-02-10 17:17:

DFPrintSetup()
JT
Ask WinPrint to pop up the priner setup dialog

Ending_Main_Report()

Initialize_Output_Device()
JT
Cancel RO Behavior

Initialize_WinPrint()
JT
Does a Winprint appropriate initialize
1. Clear the DC
2. Zero DF Counters
Integer
Output_Device_Mode()

PrintReport()
JT
Print report to appropriate device (printer, preview) based
on output_device_mode
SF 21/8 97 - Switched order of Else If/Else
Integer
Report_Interrupt()
JT
This uses a popup object which allows the user to cancel the report
continue, or, preview current report (At which point they can still
cancel or continue).

Set(Integer DevMode)

ShowRuler()
displays a metric ruler in .5 increments. This can be
sent to make it easy to see how fields and labels should
be moved for alignment.
integer
Starting_Main_Report()
JT
Augmented to clear subtotals before starting and do a first page
Number
SubTotal(Integer iTotal)
JT
Return sub-total and clear accumulator
Number
Sum_SubTotal(Integer iTotal)
Instances
oCustomer_BasicReport | CustomerListBR.rv | 136 |