Class: cCrystal

Module location: cCrystal.pkg line 1039 (view source)

Main crystal report class

Class Hierarchy:

cObjectcCrystal

Class Definition

Properties

IntegerDisplay_Error_State
if set to false, Crystal errors will not be sent to the error object.
integerError_Processing_State
HandleOld_Error_Object_Id
BooleanpbAutoLocateDFFiles
controls if dat or int files are automatically located.
BooleanpbCanceled
Can be set true by the developer within the events to stop a report from running.
BooleanpbCancelIfError
Determines if a report is canceled if an error occurs. This can changed as often as needed to handle any particular section of code. If you want to try to handle an error, set this false (and be careful).
BooleanpbHasErrors
IntegerpeOutputDestination
destination of report
HandlephcExportObject
HandlephcPreviewObject
HandlephcReportObject
Handle of classes used. Can be used to change the class of the composite child reportobject class
HandlephoReportObject
report com object.
StringpsReportName
name of report to be run

Functions and Procedures

handleApplicationObject()
returns handle of attached com applicaton object. This creates this as a global object which is assigned to ghoCrystalReportServer. It then does a com attach. If the attach fails, zero is returned indicating failure. This can be used to test if the crystal rdc com objects are installed.
CloseReport()
Construct_Object()
StringCrystalDate(DateTime dtVal)
StringCrystalInteger(Integer iVal)
StringCrystalNumber(Number nVal)
StringCrystalString(String sVal)
DestroyReportObject()
DisplayReport(Handle hoReport)
Can be sent by developer (and possible augmented) in more advanced situations
Error_Report(integer ErrNum integer iErrLine string ErrMsg)
when RunReport is called, errors are directed here.
ExportReport(Handle hoReport)
Can be sent by developer (and possible augmented) in more advanced situations
OnDisplayReport(Handle hoReport)
Intended to be used by developer
OnError(integer ErrNum integer iErrLine string ErrMsg)
Event called by Error_Report. For augmentation.
OnExportReport(Handle hoReport)
Intended to be used by developer
OnInitializeReport(Handle hoReport)
Intended to be used by developer
OnPrintReport(Handle hoReport)
Intended to be used by developer
BooleanOpenReport()
Creates report object if it doesn't exist. Opens psReportName.
IntegerOutput_Destination()
Gets / Sets report output destination. Will return output device mode of report view if none specified.
OutputReport()
PrintReport(Handle hoReport)
Can be sent by developer (and possible augmented) in more advanced situations
StringReport_Name()
Get / sets report name
HandleReportObject()
Return handle to existing report
Run_Report()
compatibility methods
RunReport()
Set(String sReportName)
Set(Integer DevMode)

Instances

oEvalObjcInternetSessionBusinessProcess.pkg88

References (8):

ModuleContaining SymbolLine
AddressLabelsCR.rvoCrystalReport1161
CheckForCrystal.dgoCrystalReportTest524
CustomerListCR.rvoCustCrystalReport465
Order.vwoOrder_Report306
OrdersByCustomerCR.rvoCrystalReport171
OrdersCR.rvoCrystalOrderRpt188
ReportInformationCR.rvoCrystalReport1187
ReportPreviewCR.rvoCrystalReport1139