Module cBasicReport.pkg
************************************************************************
$File name : cBasicReport.pkg
$File title : cBasicReport support for VDF
Notice :
$Author(s) : John Tuohy
Confidential Trade Secret.
Copyright 1987-1999 Data Access Corporation, Miami FL, USA
All Rights reserved
DataFlex is a registered trademark of Data Access Corporation.
$Rev History
MG 10/2/98 Changed error_report with additional parameter
JT 9/22/97 Added status_params property and support.
printer modes moved to their own file
JT 7/22/97 Added Status log support (similar to BatchDD). Modified
error handling(added display_error_state and onError)
JT 6/09/97 Added Allow_Cancel_State for status panel
JT ??/??/?? File created for VDF 4.0
************************************************************************
Creates Character Mode RO class for windows: BasicReport
cBasicReport.pkg (view source)- import declarations
- IntegerSystem_default_pageend
- IntegerSystem_default_pagefeed
- cBasicReport : cReportDS
- Construct_Object()
- StringOutput_Device_Name()
- IntegerId
- StringDevName
- StringOutput_Device()
- StringDevName
- Set(string Devname)
- Update_Status(string Val)
- IntegerStatPnl
- Start_Status()
- IntegerStatPnl
- Resume_Status()
- IntegerStatPnl
- End_Status()
- IntegerStatPnl
- Start_Log()
------------------------------------------------------------------------
Status Logging related Messages
Send Start_log
Send End_Log
Send Error_Log_Status Error_Info Error_Mess
Send Log_Status StatusString
------------------------------------------------------------------------
- End_Log()
- Error_Log_Status(integer ErrNum integer Err_Line string ErrMsg)
- Log_Status(String Mess)
- IntegerStatId
- Initialize_Output_Device()
- Close_Output_Device()
- IntegerOnStartingMainReport()
- IntegerRetVal
- Update_Status_Page()
- OnEndingMainReport()
close down the report
- IntegerReport_Interrupt()
- IntegerrVal
- StringMess
- IntegerTest_KeyPressed()
check for report interrupt handler
Return True to stop report, false to continue
- IntegerStatPnl
- IntegerStopIt
- Calling_All_Reports(Integer Obj Integer Msg)
- IntegerCur_Obj
- Initialize_All_Reports(Integer Obj Integer Msg)
- Error_Report(integer ErrNum integer Err_Line string ErrMsg)
All errors are directed to the main report. By Default we
shut off the status panel, report the error and notify the interrupt
mechanism to ask if the report should be canceled. VERY IMPORTANT!
If you augment this and you plan on doing ANY windows IO you should
first shut of the status panel.
- Integerid
- OnError(integer ErrNum integer Err_Line string ErrMsg)
Event called by Error_Report. For augmentation.
If you are planning on doing any interactive IO and you are
using the status panel you must first remove the panel
(send End_Status).
References (1):
Field References (0):
Module | Containing Symbol | Line |
---|