Class: CrystalReport
Class Hierarchy:
cObjectCrystalReportDirect Known Subclasses:
WinQlReport, Class Definition
Properties
StringCCList
IntegerCopies
OutputToPrinter properties
BooleanDiscardSavedData_State
Should saved data be discarded
StringExportFileName
ExportToDisk properties
IntegerExportFormatType
The following properties are used for exporting reports
StringFieldDelimiter
BooleanFunctionGeneratedError_State
This property reflects whether the last engine funtion generated an error.
StringHTMLFileName
HTML support...
StringMessageText
HandleParentWindowHandle
IntegerPrintJob
This property holds the handle to the print job.
IntegerPrivate.Output_Destination
*** BW Changed default value from CRW_PRINT_TO_WINDOW to PRINT_TO_UNDEDFINED
IntegerPrivate.PreviewWindow_Id
Set Focus_Mode to No_Activate
Normal Interface property's
Added to support preview window and status panel.
StringReport_Data_Path
StringReport_Name
IntegerReport_View_Id
IntegerStatusPanel_Id
StringStringDelimiter
StringSubjectText
StringToList
ExportToMAPI properties
BooleanUseReportDateFormat_State
BooleanUseReportNumberFormat_State
BooleanUsesEngine
IntegerWindowHeight
IntegerWindowLeftCoordinate
IntegerWindowStyle
StringWindowTitle
OutputToWindow properties
IntegerWindowTopCoordinate
IntegerWindowWidth
Functions and Procedures
AddGroupSortField(String sName Integer iDirection)
AddSortField(String sName Integer iDirection)
IntegerBottomMargin()
Calling_All_Reports(Integer iObject Integer iMessage)
CancelPrintJob()
IntegerCanCloseEngine()
IntegerCheckFormula(String sFormulaName)
IntegerCheckGroupSelectionFormula()
IntegerCheckSelectionFormula()
CloseEngine()
ClosePrintEngine()
**JJT**
ClosePrintJob()
CloseReport()
**JJT**
CloseWindow()
IntegerCollation()
Construct_Object()
Convert_Locations()
StringCrystalDate(Date dVal)
StringCrystalInteger(Integer iVal)
StringCrystalNumber(Number nVal)
StringCrystalString(String sVal)
stringCurrentDataPath()
DeleteNthGroupSortField(Integer iSortFieldN)
DeleteNthSortField(Integer iSortFieldN)
Destroy_Object()
**JJT**
DiscardSavedData()
IntegerDisplayPageN()
NumberDLLVersion()
DoWinQLReport()
StringDriverName(String sPrinterName)
NumberEngineVersion()
IntegerErrorCode()
*********************************************************************** //
** Error Management Functions ** //
*********************************************************************** //
StringErrorText()
IntegerExportOptions()
ExportPrintWindow(Integer iToMail)
Integer iWaitUntilDone
ExportToDisk()
ExportToMAPI()
ExportWindowToDisk()
ExportWindowToMail()
StringFormatDLLName()
PointerFormatOptions()
IntegerFormatType()
StringFormula(String sFormulaName)
*********************************************************************** //
** Formula Functions ** //
*********************************************************************** //
StringFull_Report_Name(String RptName)
IntegerGraphColGroupN(Integer iSectionCode Integer iGraphN)
IntegerGraphDirection(Integer iSectionCode Integer iGraphN)
StringGraphFontFaceName(Integer iSectionCode Integer iGraphN)
StringGraphFootNote(Integer iSectionCode Integer iGraphN)
StringGraphGroupsTitle(Integer iSectionCode Integer iGraphN)
RealGraphMaxValue(Integer iSectionCode Integer iGraphN)
RealGraphMinValue(Integer iSectionCode Integer iGraphN)
IntegerGraphRowGroupN(Integer iSectionCode Integer iGraphN)
*********************************************************************** //
** Graph/Chart Management Functions ** //
*********************************************************************** //
StringGraphSeriesTitle(Integer iSectionCode Integer iGraphN)
IntegerGraphShowDataValue(Integer iSectionCode Integer iGraphN)
IntegerGraphShowGridLine(Integer iSectionCode Integer iGraphN)
IntegerGraphShowLegend(Integer iSectionCode Integer iGraphN)
StringGraphSubTitle(Integer iSectionCode Integer iGraphN)
IntegerGraphSummarizedFieldN(Integer iSectionCode Integer iGraphN)
StringGraphTitle(Integer iSectionCode Integer iGraphN)
IntegerGraphType(Integer iSectionCode Integer iGraphN)
IntegerGraphVerticalBars(Integer iSectionCode Integer iGraphN)
StringGraphXAxisTitle(Integer iSectionCode Integer iGraphN)
StringGraphYAxisTitle(Integer iSectionCode Integer iGraphN)
StringGraphZAxisTitle(Integer iSectionCode Integer iGraphN)
IntegerGroupCondition(Integer iSectionCode)
StringGroupField(Integer iSectionCode)
StringGroupSelectionFormula()
IntegerGroupSortDirection(Integer iSectionCode)
HandlePossibleError()
IntegerHasSavedData()
*********************************************************************** //
** Data Management Functions ** //
*********************************************************************** //
IgnoreAll()
IgnoreError(Integer iError)
Initialize_All_Reports(Integer iObject Integer iMessage)
IntegerIsPrintJobFinished()
IntegerIsTrapped(Integer iError)
Trapped error support...
IntegerJobStatus()
IntegerKeepTogether(Integer iSectionCode)
IntegerLatestPageN()
IntegerLeftMargin()
IntegerLineAscent(Integer iSectionCode Integer iLineN)
IntegerLineHeight(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 ** //
*********************************************************************** //
IntegerMinimumSectionHeight(Integer iSectionCode)
IntegerNDetailCopies()
IntegerNewPageAfter(Integer iSectionCode)
IntegerNewPageBefore(Integer iSectionCode)
NextPrintWindowMagnification()
IntegerNFormulas()
IntegerNGroups()
*********************************************************************** //
** Group Management Functions ** //
*********************************************************************** //
IntegerNGroupSortFields()
IntegerNLinesInSection(Integer iSectionCode)
IntegerNParams()
*********************************************************************** //
** Stored Procedure Management Functions ** //
*********************************************************************** //
IntegerNReportCopies()
IntegerNSortFields()
*********************************************************************** //
** Sorting Functions ** //
*********************************************************************** //
IntegerNTables()
*********************************************************************** //
** Table Management Functions ** //
*********************************************************************** //
StringNthFormulaName(Integer iFormulaN)
StringNthFormulaText(Integer iFormulaN)
IntegerNthGroupSortFieldDirection(Integer iSortFieldN)
StringNthGroupSortFieldName(Integer iSortFieldN)
StringNthParam(Integer iParamN)
IntegerNthSortFieldDirection(Integer iSortFieldN)
StringNthSortFieldName(Integer iSortFieldN)
IntegerNthTableDBType(Integer iTableN)
StringNthTableDescriptiveName(Integer iTableN)
StringNthTableDLLName(Integer iTableN)
StringNthTableLocation(Integer iTableN)
StringNthTableLogOnDatabaseName(Integer iTableN)
StringNthTableLogOnPassword(Integer iTableN)
StringNthTableLogOnServerName(Integer iTableN)
StringNthTableLogOnUserID(Integer iTableN)
IntegerNthTableSessionHandle(Integer iTableN)
NthTableSessionHandle(Integer iTableN Integer iHandle Integer iPropagateAcrossTables)
StringNthTableSessionPassword(Integer iTableN)
StringNthTableSessionUserID(Integer iTableN)
IntegerNumRecordsPrinted()
IntegerNumRecordsRead()
IntegerNumRecordsSelected()
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
IntegerOutput_Destination()
*********************************************************************** //
** Normal Interface ** //
*********************************************************************** //
IntegerOutput_Device_Mode()
OutputToPrinter(Integer iCopies)
OutputToWindow(String sTitle Integer iLeft Integer iTop Integer iWidth Integer iHeight Integer iStyle Handle hParent)
StringPointerToString(Pointer pString)
*********************************************************************** //
** Print Destination Functions ** //
*********************************************************************** //
IntegerPreviewWindow_Id()
Print_Report(String sReportName)
** UPS **
IntegerPrintAtBottomOfPage(Integer iSectionCode)
DatePrintDate()
IntegerPrintEnded()
StringPrinterDEVMODE()
StringPrinterDriver()
StringPrinterName()
StringPrinterPort()
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
StringReport_Base_File_Name(String sIn)
StringReportTitle()
*********************************************************************** //
** Print Format Management Functions ** //
*********************************************************************** //
IntegerResetPageNAfter(Integer iSectionCode)
IntegerRightMargin()
Run_Report(String sReportName)
**JJT**
Optional name can be passed
RunCrystalReport()
**JJT**
SelectAndPrintWindow()
IntegerSelectAndSetFont(Integer iSection Integer iScope)
SelectAndSetFont(Integer iSection Integer iScope)
IntegerSelectAndSetPrinter()
SelectAndSetPrinter()
StringSelectionFormula()
*********************************************************************** //
** 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()
IntegerShowPrintControls()
StringSQLQuery()
IntegerStartPageN()
IntegerStartPageN()
StartPrintJob()
Integer iWaitUntilDone
IntegerStopPageN()
IntegerSuppressBlankLines(Integer iSectionCode)
IntegerTable_Count()
StringTable_Location(Integer iTable)
IntegerTestNthTableConnectivity(Integer iTableN)
*** BW, Chgencged function name from TextNthTableConnectivity
IntegerTopMargin()
Trapall()
TrapError(Integer iError)
PointerUXFCharSeparatedOptions()
PointerUXFCommaTabSeparatedOptions()
PointerUXFDIFOptions()
PointerUXFHTML3Options()
HTML support...
PointerUXFRecordStyleOptions()
IntegerVisible(Integer iSectionCode)
HandleWindowHandle()
*********************************************************************** //
** Print Window Management Functions ** //
*********************************************************************** //
Instances
oEvalObj | cInternetSessionBusinessProcess.pkg | 88 |
References (1):