Class: CrystalReport
Class Hierarchy:
cObject

CrystalReportDirect Known Subclasses:
WinQlReport, Class Definition
Properties
String
CCList
Integer
Copies
OutputToPrinter properties
Boolean
DiscardSavedData_State
Should saved data be discarded
String
ExportFileName
ExportToDisk properties
Integer
ExportFormatType
The following properties are used for exporting reports
String
FieldDelimiter
Boolean
FunctionGeneratedError_State
This property reflects whether the last engine funtion generated an error.
String
HTMLFileName
HTML support...
String
MessageText
Handle
ParentWindowHandle
Integer
PrintJob
This property holds the handle to the print job.
Integer
Private.Output_Destination
*** BW Changed default value from CRW_PRINT_TO_WINDOW to PRINT_TO_UNDEDFINED
Integer
Private.PreviewWindow_Id
Set Focus_Mode to No_Activate
Normal Interface property's
Added to support preview window and status panel.
String
Report_Data_Path
String
Report_Name
Integer
Report_View_Id
Integer
StatusPanel_Id
String
StringDelimiter
String
SubjectText
String
ToList
ExportToMAPI properties
Boolean
UseReportDateFormat_State
Boolean
UseReportNumberFormat_State
Boolean
UsesEngine
Integer
WindowHeight
Integer
WindowLeftCoordinate
Integer
WindowStyle
String
WindowTitle
OutputToWindow properties
Integer
WindowTopCoordinate
Integer
WindowWidth
Functions and Procedures

AddGroupSortField(String sName Integer iDirection)

AddSortField(String sName Integer iDirection)
Integer
BottomMargin()

Calling_All_Reports(Integer iObject Integer iMessage)

CancelPrintJob()
Integer
CanCloseEngine()
Integer
CheckFormula(String sFormulaName)
Integer
CheckGroupSelectionFormula()
Integer
CheckSelectionFormula()

CloseEngine()

ClosePrintEngine()
**JJT**

ClosePrintJob()

CloseReport()
**JJT**

CloseWindow()
Integer
Collation()

Construct_Object()

Convert_Locations()
String
CrystalDate(Date dVal)
String
CrystalInteger(Integer iVal)
String
CrystalNumber(Number nVal)
String
CrystalString(String sVal)
string
CurrentDataPath()

DeleteNthGroupSortField(Integer iSortFieldN)

DeleteNthSortField(Integer iSortFieldN)

Destroy_Object()
**JJT**

DiscardSavedData()
Integer
DisplayPageN()
Number
DLLVersion()

DoWinQLReport()
String
DriverName(String sPrinterName)
Number
EngineVersion()
Integer
ErrorCode()
*********************************************************************** //
** Error Management Functions ** //
*********************************************************************** //
String
ErrorText()
Integer
ExportOptions()

ExportPrintWindow(Integer iToMail)
Integer iWaitUntilDone

ExportToDisk()

ExportToMAPI()

ExportWindowToDisk()

ExportWindowToMail()
String
FormatDLLName()
Pointer
FormatOptions()
Integer
FormatType()
String
Formula(String sFormulaName)
*********************************************************************** //
** Formula Functions ** //
*********************************************************************** //
String
Full_Report_Name(String RptName)
Integer
GraphColGroupN(Integer iSectionCode Integer iGraphN)
Integer
GraphDirection(Integer iSectionCode Integer iGraphN)
String
GraphFontFaceName(Integer iSectionCode Integer iGraphN)
String
GraphFootNote(Integer iSectionCode Integer iGraphN)
String
GraphGroupsTitle(Integer iSectionCode Integer iGraphN)
Real
GraphMaxValue(Integer iSectionCode Integer iGraphN)
Real
GraphMinValue(Integer iSectionCode Integer iGraphN)
Integer
GraphRowGroupN(Integer iSectionCode Integer iGraphN)
*********************************************************************** //
** Graph/Chart Management Functions ** //
*********************************************************************** //
String
GraphSeriesTitle(Integer iSectionCode Integer iGraphN)
Integer
GraphShowDataValue(Integer iSectionCode Integer iGraphN)
Integer
GraphShowGridLine(Integer iSectionCode Integer iGraphN)
Integer
GraphShowLegend(Integer iSectionCode Integer iGraphN)
String
GraphSubTitle(Integer iSectionCode Integer iGraphN)
Integer
GraphSummarizedFieldN(Integer iSectionCode Integer iGraphN)
String
GraphTitle(Integer iSectionCode Integer iGraphN)
Integer
GraphType(Integer iSectionCode Integer iGraphN)
Integer
GraphVerticalBars(Integer iSectionCode Integer iGraphN)
String
GraphXAxisTitle(Integer iSectionCode Integer iGraphN)
String
GraphYAxisTitle(Integer iSectionCode Integer iGraphN)
String
GraphZAxisTitle(Integer iSectionCode Integer iGraphN)
Integer
GroupCondition(Integer iSectionCode)
String
GroupField(Integer iSectionCode)
String
GroupSelectionFormula()
Integer
GroupSortDirection(Integer iSectionCode)

HandlePossibleError()
Integer
HasSavedData()
*********************************************************************** //
** Data Management Functions ** //
*********************************************************************** //

IgnoreAll()

IgnoreError(Integer iError)

Initialize_All_Reports(Integer iObject Integer iMessage)
Integer
IsPrintJobFinished()
Integer
IsTrapped(Integer iError)
Trapped error support...
Integer
JobStatus()
Integer
KeepTogether(Integer iSectionCode)
Integer
LatestPageN()
Integer
LeftMargin()
Integer
LineAscent(Integer iSectionCode Integer iLineN)
Integer
LineHeight(Integer iSectionCode Integer iLineN)

LogOffServer(String sDLLName String sServerName String sDatabaseName String sUserID String sPassword)

LogOnServer(String sDLLName String sServerName String sDatabaseName String sUserID String sPassword)
*********************************************************************** //
** Server Management Functions ** //
*********************************************************************** //
Integer
MinimumSectionHeight(Integer iSectionCode)
Integer
NDetailCopies()
Integer
NewPageAfter(Integer iSectionCode)
Integer
NewPageBefore(Integer iSectionCode)

NextPrintWindowMagnification()
Integer
NFormulas()
Integer
NGroups()
*********************************************************************** //
** Group Management Functions ** //
*********************************************************************** //
Integer
NGroupSortFields()
Integer
NLinesInSection(Integer iSectionCode)
Integer
NParams()
*********************************************************************** //
** Stored Procedure Management Functions ** //
*********************************************************************** //
Integer
NReportCopies()
Integer
NSortFields()
*********************************************************************** //
** Sorting Functions ** //
*********************************************************************** //
Integer
NTables()
*********************************************************************** //
** Table Management Functions ** //
*********************************************************************** //
String
NthFormulaName(Integer iFormulaN)
String
NthFormulaText(Integer iFormulaN)
Integer
NthGroupSortFieldDirection(Integer iSortFieldN)
String
NthGroupSortFieldName(Integer iSortFieldN)
String
NthParam(Integer iParamN)
Integer
NthSortFieldDirection(Integer iSortFieldN)
String
NthSortFieldName(Integer iSortFieldN)
Integer
NthTableDBType(Integer iTableN)
String
NthTableDescriptiveName(Integer iTableN)
String
NthTableDLLName(Integer iTableN)
String
NthTableLocation(Integer iTableN)
String
NthTableLogOnDatabaseName(Integer iTableN)
String
NthTableLogOnPassword(Integer iTableN)
String
NthTableLogOnServerName(Integer iTableN)
String
NthTableLogOnUserID(Integer iTableN)
Integer
NthTableSessionHandle(Integer iTableN)

NthTableSessionHandle(Integer iTableN Integer iHandle Integer iPropagateAcrossTables)
String
NthTableSessionPassword(Integer iTableN)
String
NthTableSessionUserID(Integer iTableN)
Integer
NumRecordsPrinted()
Integer
NumRecordsRead()
Integer
NumRecordsSelected()

OnDeInitializeReport()
This hook procedure is called just before a print job is closed.

OnInitializeReport()
*********************************************************************** //
** Hook procedure's ** //
*********************************************************************** //
This hook procedure is called after the print job has been opened.

OnStartPrinting()
This hook procedure is called just before a the print job is started.

OnStopPrinting()
This hook procedure is calledjust after a print job has finished.

OpenEngine()
*********************************************************************** //
** Engine Management Functions ** //
*********************************************************************** //

OpenPrintEngine()
*********************************************************************** //
** Advanced Interface ** //
*********************************************************************** //
Alternative for 'Copies' property
*********************************************************************** //
** Open close engine messages ** //
*********************************************************************** //
**JJT**

OpenPrintJob(String sReportName)

OpenReport(String sReportName)
**JJT**
Optional name can be passed
Integer
Output_Destination()
*********************************************************************** //
** Normal Interface ** //
*********************************************************************** //
Integer
Output_Device_Mode()

OutputToPrinter(Integer iCopies)

OutputToWindow(String sTitle Integer iLeft Integer iTop Integer iWidth Integer iHeight Integer iStyle Handle hParent)
String
PointerToString(Pointer pString)
*********************************************************************** //
** Print Destination Functions ** //
*********************************************************************** //
Integer
PreviewWindow_Id()

Print_Report(String sReportName)
** UPS **
Integer
PrintAtBottomOfPage(Integer iSectionCode)
Date
PrintDate()
Integer
PrintEnded()
String
PrinterDEVMODE()
String
PrinterDriver()
String
PrinterName()
String
PrinterPort()

PrintReportToPrinter(String sReportName)
*********************************************************************** //
** Print Job Management Functions ** //
*********************************************************************** //

PrintReportToWindow(String sReportName String sTitle Integer iLeft Integer iTop Integer iWidth Integer iHeight Integer iStyle Handle hParent)

PrintWindow()
Integer iWaitUntilDone
String
Report_Base_File_Name(String sIn)
String
ReportTitle()
*********************************************************************** //
** Print Format Management Functions ** //
*********************************************************************** //
Integer
ResetPageNAfter(Integer iSectionCode)
Integer
RightMargin()

Run_Report(String sReportName)
**JJT**
Optional name can be passed

RunCrystalReport()
**JJT**

SelectAndPrintWindow()
Integer
SelectAndSetFont(Integer iSection Integer iScope)

SelectAndSetFont(Integer iSection Integer iScope)
Integer
SelectAndSetPrinter()

SelectAndSetPrinter()
String
SelectionFormula()
*********************************************************************** //
** Selection Formula Functions ** //
*********************************************************************** //

SelectPrinter(String sDriver String sPrinter String sPort String sDEVMODE)

Set(Integer iObject)
PreviewWindow support...

Set(String sFormatDLLName Integer iFormatType)

Set(Integer iSortFieldN String sName)

Set(Integer iSortFieldN Integer iDirection)

Set(Integer iSortFieldN String sName)

Set(Integer iSortFieldN Integer iDirection)

Set(String sFormulaName String sFormulaText)

Set(String sFormulaString)

Set(String sFormulaString)

Set(String sQueryString)

Set(String sTitle)

Set(Integer iStartPageN)

Set(Integer iStopPageN)

Set(Integer iNReportCopies)

Set(Integer iCollation)

Set(Integer iSectionCode Integer iVisible)

Set(Integer iSectionCode Integer iNewPageBefore)

Set(Integer iSectionCode Integer iNewPageAfter)

Set(Integer iSectionCode Integer iKeepTogether)

Set(Integer iSectionCode Integer iSuppressBlankLines)

Set(Integer iSectionCode Integer iResetPageNAfter)

Set(Integer iSectionCode Integer iPrintAtBottomOfPage)

Set(Integer iLeft)

Set(Integer iRight)

Set(Integer iTop)

Set(Integer iBottom)

Set(Integer iSectionCode Integer iMimimumHeight)

Set(Integer iSectionCode Integer iLineN Integer iHeight)

Set(Integer iSectionCode Integer iLineN Integer iAscent)

Set(Integer iSection Integer iScope String sFaceName Integer iFamily Integer iPitch Integer iCharSet Integer iSize Integer iItalic Integer iUnder Integer iStrike Integer iWeight)

Set(Integer iNDetailCopies)

Set(Date dPrintDate)

Set(Integer iShowPrintControls)

Set(Integer iLevel)

Set(Integer iSectionCode String sField)

Set(Integer iSectionCode Integer iCondition)

Set(Integer iSectionCode Integer iSortDirection)

Set(Integer iTableN String sServerName Integer iPropagateAcrossTables)

Set(Integer iTableN String sDatabaseName Integer iPropagateAcrossTables)

Set(Integer iTableN String sUserID Integer iPropagateAcrossTables)

Set(Integer iTableN String sPassword Integer iPropagateAcrossTables)

Set(Integer iTableN String sLocation)

Set(Integer iTableN String sUserID Integer iPropagateAcrossTables)

Set(Integer iTableN String sPassword Integer iPropagateAcrossTables)

Set(Integer iSectionCode Integer iGraphN Integer iRowGroupN)

Set(Integer iSectionCode Integer iGraphN Integer iColGroupN)

Set(Integer iSectionCode Integer iGraphN Integer iSummarizedFieldN)

Set(Integer iSectionCode Integer iGraphN Integer iDirection)

Set(Integer iSectionCode Integer iGraphN Real rMaxValue)

Set(Integer iSectionCode Integer iGraphN Real rMinValue)

Set(Integer iSectionCode Integer iGraphN Integer iShowDataValue)

Set(Integer iSectionCode Integer iGraphN Integer iShowGridLine)

Set(Integer iSectionCode Integer iGraphN Integer iVerticalBars)

Set(Integer iSectionCode Integer iGraphN Integer iShowLegend)

Set(Integer iSectionCode Integer iGraphN String sFontFaceName)

Set(Integer iSectionCode Integer iGraphN String sTitle)

Set(Integer iSectionCode Integer iGraphN String sSubTitle)

Set(Integer iSectionCode Integer iGraphN String sFootNote)

Set(Integer iSectionCode Integer iGraphN String sGroupsTitle)

Set(Integer iSectionCode Integer iGraphN String sSeriesTitle)

Set(Integer iSectionCode Integer iGraphN String sXAxisTitle)

Set(Integer iSectionCode Integer iGraphN String sYAxisTitle)

Set(Integer iSectionCode Integer iGraphN String sZAxisTitle)

Set(Integer iSectionCode Integer iGraphN Integer iGraphType)

Set(Integer iParamN String sParamValue)

Set(Integer DevMode)

Set(Integer iTable String sLocation)

Set(String sFormula)

Show_Locations()

ShowFirstPage()

ShowLastPage()

ShowNextPage()
*********************************************************************** //
** Window Customization Functions ** //
*********************************************************************** //

ShowPreviousPage()
Integer
ShowPrintControls()
String
SQLQuery()
Integer
StartPageN()
Integer
StartPageN()

StartPrintJob()
Integer iWaitUntilDone
Integer
StopPageN()
Integer
SuppressBlankLines(Integer iSectionCode)
Integer
Table_Count()
String
Table_Location(Integer iTable)
Integer
TestNthTableConnectivity(Integer iTableN)
*** BW, Chgencged function name from TextNthTableConnectivity
Integer
TopMargin()

Trapall()

TrapError(Integer iError)
Pointer
UXFCharSeparatedOptions()
Pointer
UXFCommaTabSeparatedOptions()
Pointer
UXFDIFOptions()
Pointer
UXFHTML3Options()
HTML support...
Pointer
UXFRecordStyleOptions()
Integer
Visible(Integer iSectionCode)
Handle
WindowHandle()
*********************************************************************** //
** Print Window Management Functions ** //
*********************************************************************** //
Instances
oEvalObj | cInternetSessionBusinessProcess.pkg | 88 |
References (1):