Class: cCrystalIReport
CLSID: {AF376800-6120-4E28-96DD-63FD2DC27B7A}
Class Hierarchy:
cObject

Mixin


cCrystalIReportClass Definition
Functions and Procedures

ComAddGroup(Short llGroupNumber Variant llpConditionField CRGroupCondition llCondition CRSortDirection llSortDirection)
Adds a group.

ComAddReportVariable(CRReportVariableValueType lltype String llpName Integer llarraySize Variant llreserved)
Adds a report variable
Variant
ComApplication()
Gets application object)
String
ComApplicationName()
Gets or sets application name.
Variant
ComAreas()
Gets area collection.

ComAutoSetUnboundFieldSource(CRBindingMatchType llmatchType Variant llbindSubReports)
Automatically bind unbound fields to database fields.
Integer
ComBottomMargin()
Gets or sets page bottom margin (twips).

ComCancelPrinting()
Cancels exporting/printing.
Boolean
ComCanPerformGroupingOnServer()
Checks whether the report can perform grouping on the server.
Boolean
ComCaseInsensitiveSQLData()
Gets or sets case insensitive SQL data report option.
CRConvertDateTimeType
ComConvertDateTimeType()
Gets or sets convert date time to date report option.
Boolean
ComConvertNullFieldToDefault()
Gets or sets convert Null field to default report option.
Variant
ComDatabase()
Gets database manager.

ComDeleteGroup(Short llGroupNumber)
Delete a group

ComDiscardSavedData()
Discards report saved data.
Boolean
ComDisplayProgressDialog()
Enables or disables progress dialog
String
ComDriverName()
Gets driver name used by the current printer.
Boolean
ComEnableAsyncQuery()
Gets or sets enable AsyncQuery.
Boolean
ComEnableGeneratingDataForHiddenObject()
Gets or sets Enable Generating Data For Hidden Object.
Boolean
ComEnableParameterPrompting()
Enables or disables prompting for parameter field
Boolean
ComEnablePerformQueriesAsynchronously()
Gets or sets perform queries asynchronously option.
Boolean
ComEnableSelectDistinctRecords()
Gets or sets select distinct records option.

ComExport(Variant llpromptUser)
Exports the report to other formats.
Variant
ComExportOptions()
Gets export options object.
CRFieldMappingType
ComFieldMappingType()
Gets or Sets field mapping type.
Variant
ComFormulaFields()
Gets formula field definition collection.
CRFormulaSyntax
ComFormulaSyntax()
Gets or sets report formula syntax.
Variant
ComGetNextRows(Integer llstartRowN Integer ByRef llpRowN)
Get Rowset.
Variant
ComGetReportVariableValue(String llpName)
Gets a report variable
Variant
ComGroupNameFields()
Gets group name field definition collection.
String
ComGroupSelectionFormula()
Gets or sets group selection formula.
Variant
ComGroupSortFields()
Gets group sort field collection.
Boolean
ComHasSavedData()
Checks whether the report has saved data in memory.
String
ComKeywordsInReport()
Gets or sets keywords in report.
CRReportKind
ComKind()
Gets report kind.
CRFormulaSyntax
ComLastGetFormulaSyntax()
Gets formula syntax of last formula text returned.
Integer
ComLeftMargin()
Gets or sets page left margin (twips).
Boolean
ComNeedUpdatePages()
Gets whether the user needs to reget pages for display because of the changes in the report.
Integer
ComNumberOfGroup()
Gets the number of groups in the report.
Variant
ComOpenSubreport(String llpSubreportName)
Gets specified subreport.
Variant
ComPageEngine()
Get pageEngine object.
CRPaperOrientation
ComPaperOrientation()
Gets or sets current printer paper orientation.
CRPaperSize
ComPaperSize()
Gets or sets current printer paper size.
CRPaperSource
ComPaperSource()
Gets or Sets the current printer paper source.
Variant
ComParameterFields()
Gets parameter field definition collection.
Variant
ComParent()
Gets report parent. (NULL or Main Report)
Boolean
ComPerformGroupingOnServer()
Gets or sets performing grouping on server option.
String
ComPortName()
Gets port name used by the current printer.
DateTime
ComPrintDate()
Gets or sets print date.
CRPrinterDuplexType
ComPrinterDuplex()
Gets or Sets the current printer duplex option.
String
ComPrinterName()
Gets current printer name.

ComPrinterSetup(Integer llhWnd)
Set up current printer.
Integer
ComPrinterSetupEx(Integer llhWnd)
Set up current printer.
Variant
ComPrintingStatus()
Gets printing status object.

ComPrintOut(Variant llpromptUser Variant llnumberOfCopy Variant llcollated Variant llstartPageN Variant llstopPageN)
Prints the report to printer.

ComPrintOutEx(Variant llpromptUser Variant llnumberOfCopy Variant llcollated Variant llstartPageN Variant llstopPageN String llprintFileName)
Prints the report to printer or file.

ComReadRecords()
Forces to read in data.
String
ComRecordSelectionFormula()
Gets or sets record selection formula.
Variant
ComRecordSortFields()
Gets reocord sort field collection.
Variant
ComReportAlerts()
Gets report alert.
String
ComReportAuthor()
Gets or sets report author.
String
ComReportComments()
Gets or sets report comments.
CRReportFormatStyle
ComReportFormatStyle()
Gets or sets a report format style.
String
ComReportSubject()
Gets or sets report subject.
String
ComReportTemplate()
Gets or sets report template.
String
ComReportTitle()
Gets or sets report title.
Integer
ComRightMargin()
Gets or sets page right margin (twips).
Variant
ComRunningTotalFields()
Gets running total field collection.

ComSaveAs(String llpFilePath CRReportFileFormat llfileFormat)
Saves the report to another file.
Boolean
ComSavePreviewPicture()
Gets or sets save preview picture with report option.
Variant
ComSections()
Gets section collection within the report.

ComSelectPrinter(String llpDriverName String llpPrinterName String llpPortName)
Selects a printer.

ComSetDialogParentWindow(Integer llhWnd)
Sets dialog parent window.

ComSetReportVariableValue(String llpName Variant llvar)
Sets a report variable value

ComSetUserPaperSize(Short lllength Short llWidth)
sets customer printer paper size.
Variant
ComSQLExpressionFields()
Gets SQL expression field collection.
String
ComSQLQueryString()
Gets or sets SQL query string.
Variant
ComSummaryFields()
Gets summary field definition collection.
Integer
ComTopMargin()
Gets or sets page top margin (twips).
Boolean
ComUseIndexForSpeed()
Gets or sets use index for speed report option.
Boolean
ComVerifyOnEveryPrint()
Gets or sets verify on every print report option.

Set(DateTime value)
Gets or sets print date.

Set(Boolean value)
Gets or sets use index for speed report option.

Set(CRConvertDateTimeType value)
Gets or sets convert date time to date report option.

Set(Boolean value)
Gets or sets convert Null field to default report option.

Set(Boolean value)
Gets or sets case insensitive SQL data report option.

Set(Boolean value)
Gets or sets verify on every print report option.

Set(CRPaperOrientation value)
Gets or sets current printer paper orientation.

Set(CRPaperSize value)
Gets or sets current printer paper size.

Set(Integer value)
Gets or sets page left margin (twips).

Set(Integer value)
Gets or sets page right margin (twips).

Set(Integer value)
Gets or sets page top margin (twips).

Set(Integer value)
Gets or sets page bottom margin (twips).

Set(Boolean value)
Enables or disables prompting for parameter field

Set(Boolean value)
Enables or disables progress dialog

Set(String value)
Gets or sets record selection formula.

Set(String value)
Gets or sets group selection formula.

Set(String value)
Gets or sets report title.

Set(String value)
Gets or sets report subject.

Set(String value)
Gets or sets report author.

Set(String value)
Gets or sets report comments.

Set(String value)
Gets or sets report template.

Set(String value)
Gets or sets keywords in report.

Set(String value)
Gets or sets application name.

Set(Boolean value)
Gets or sets performing grouping on server option.

Set(String value)
Gets or sets SQL query string.

Set(Boolean value)
Gets or sets perform queries asynchronously option.

Set(Boolean value)
Gets or sets select distinct records option.

Set(CRReportFormatStyle value)
Gets or sets a report format style.

Set(Boolean value)
Gets or sets enable AsyncQuery.

Set(Boolean value)
Gets or sets Enable Generating Data For Hidden Object.

Set(CRPrinterDuplexType value)
Gets or Sets the current printer duplex option.

Set(CRPaperSource value)
Gets or Sets the current printer paper source.

Set(Boolean value)
Gets or sets save preview picture with report option.

Set(CRFieldMappingType value)
Gets or Sets field mapping type.

Set(CRFormulaSyntax value)
Gets or sets report formula syntax.