
- •Application Development with Crystal Smart Viewers
- •Seagate Crystal Smart Viewer for ActiveX
- •Adding the Smart Viewer to a Visual Basic project
- •Using the CRViewer object
- •The Crystal Smart Viewer Java Bean
- •Adding the Smart Viewer Bean to the project
- •Creating a simple applet with the Smart viewer
- •Overview of the Report Designer Object Model
- •Object Naming Conflicts
- •Objects and Collections
- •Application Object
- •Application Object Methods
- •CanClose Method (Application Object)
- •LogOffServer Method (Application Object)
- •LogOnServer Method (Application Object)
- •OpenReport Method (Application Object)
- •SetMatchLogOnInfo Method (Application Object)
- •SetMorePrintEngineErrorMessages Method (Application Object)
- •Area Object
- •Area Object Properties
- •Areas Collection
- •Areas Collection Properties
- •BlobFieldObject Object
- •BlobFieldObject Object Properties
- •BoxObject Object
- •BoxObject Object Properties
- •CrossTabObject Object
- •CrossTabObject Object Properties
- •Database Object
- •Database Object Properties
- •Database Object Methods
- •LogOffServer Method (Database Object)
- •LogOnServer Method (Database Object)
- •SetDataSource Method (Database Object)
- •Verify Method (Database Object)
- •DatabaseFieldDefinition Object
- •DatabaseFieldDefinition Object Properties
- •DatabaseFieldDefinitions Collection
- •DatabaseFieldDefinitions Collection Properties
- •DatabaseTable Object
- •DatabaseTable Object Properties
- •DatabaseTable Object Methods
- •SetDataSource Method (DatabaseTable Object)
- •SetLogOnInfo Method (DatabaseTable Object)
- •SetPrivateData Method (Database Table Object)
- •SetSessionInfo Method (Database Table Object)
- •TestConnectivity Method (Database Table Object)
- •DatabaseTables Collection
- •DatabaseTables Collection Properties
- •ExportOptions Object
- •ExportOptions Object Properties
- •ExportOptions Object Methods
- •PromptForExportOptions Method (ExportOptions Object)
- •Reset Method (ExportOptions Object)
- •FieldObject Object
- •FieldObject Object Properties
- •FormattingInfo Object
- •FormattingInfo Object Properties
- •FormulaFieldDefinition Object
- •FormulaFieldDefinition Object Properties
- •FormulaFieldDefinition Object Methods
- •Check Method (FormulaFieldObject)
- •FormulaFieldDefinitions Collection
- •FormulaFieldDefinitions Collection Properties
- •GraphObject Object
- •GraphObject Object Properties
- •GroupNameFieldDefinition Object
- •GroupNameFieldDefinition Object Properties
- •GroupNameFieldDefinitions Collection
- •GroupNameFieldDefinitions Collection Properties
- •LineObject Object
- •LineObject Object Properties
- •MapObject Object
- •MapObject Object Properties
- •OLEObject Object
- •OLEObject Object Properties
- •Page Object
- •Page Object Properties
- •Page Object Methods
- •RenderEPF Method (Page Object)
- •RenderHTML Method (Page Object)
- •PageEngine Object
- •PageEngine Object Properties
- •PageEngine Object Methods
- •CreatePageGenerator Method (PageEngine Object)
- •RenderTotallerETF Method (PageEngine Object)
- •RenderTotallerHTML Method (PageEngine Object)
- •PageGenerator Object
- •PageGenerator Object Properties
- •PageGenerator Object Methods
- •DrillOnGraph Method (PageGenerator Object)
- •DrillOnMap Method (PageGenerator Object)
- •DrillOnSubreport Method (PageGenerator Object)
- •GetPageNumberForGroup Method (PageGenerator Object)
- •RenderTotallerETF Method (PageGenerator Object)
- •RenderTotallerHTML Method (PageGenerator Object)
- •SearchForText Method (PageGenerator Object)
- •Pages Collection
- •Pages Collection Properties
- •ParameterFieldDefinition Object
- •ParameterFieldDefinition Object Properties
- •ParameterFieldDefinition Object Methods
- •AddCurrentRange Method (ParameterFieldDefinition Object)
- •AddCurrentValue Method (ParameterFieldDefinition Object)
- •AddDefaultValue Method (ParameterFieldDefinition Object)
- •GetNthCurrentRange Method (ParameterFieldDefinition Object)
- •GetNthCurrentValue Method (ParameterFieldDefinition Object)
- •GetNthDefaultValue Method (ParameterFieldDefinition Object)
- •SetNthDefaultValueMethod (ParameterFieldDefinition Object)
- •ParameterFieldDefinitions Collection
- •ParameterFieldDefinitions Collection Properties
- •PrintingStatus Object
- •PrintingStatus Object Properties
- •Report Object
- •Report Object Properties
- •Report Object Methods
- •AddGroup Method (Report Object)
- •CancelPrinting Method (Report Object)
- •DiscardSavedData Method (Report Object)
- •Export Method (Report Object)
- •GetNextRows Method (Report Object)
- •OpenSubreport Method (Report Object)
- •PrintOut Method (Report Object)
- •ReadRecords Method (Report Object)
- •Save Method (Report Object)
- •SelectPrinter Method (Report Object)
- •SetDialogParentWindow Method (Report Object)
- •ReportObjects Collection
- •ReportObjects Collection Properties
- •RunningTotalFieldDefinition Object
- •RunningTotalFieldDefinition Object Properties
- •RunningTotalFieldDefinitions Collection
- •RunningTotalFieldDefinitions Collection Properties
- •Section Object
- •Section Object Properties
- •Section Object Event
- •Format Event (Section Object)
- •Sections Collection
- •Sections Collection Properties
- •SortField Object
- •SortField Object Properties
- •SortFields Collection
- •SortFields Collection Properties
- •SortFields Collection Methods
- •Add Method (SortFields Collection)
- •Delete Method (SortFields Collection)
- •SpecialVarFieldDefinition Object
- •SpecialVarFieldDefinition Object Properties
- •SQLExpressionFieldDefinition Object
- •SQLExpressionFieldDefinition Object Properties
- •SQLExpressionFieldDefinitions Collection
- •SQLExpressionFieldDefinitions Collection Properties
- •SubreportObject Object
- •SubreportObject Object Properties
- •SubreportObject Object Method
- •OpenSubreport Method (Subreport Object)
- •SummaryFieldDefinition Object
- •SummaryFieldDefinition Object Properties
- •SummaryFieldDefinitions Collection
- •SummaryFieldDefinitions Collection Properties
- •TextObject Object
- •TextObject Object Properties
- •TextObject Object Method
- •SetText Method (TextObject Object)
- •Crystal Data Source Object Models
- •Crystal Data Objects
- •CrystalComObject
- •CrystalComObject Properties
- •RowCount
- •CrystalComObject Methods
- •AddField
- •AddRows
- •DeleteField
- •GetColCount
- •getEOF
- •GetFieldData
- •GetFieldName
- •GetFieldType
- •MoveFirst
- •MoveNext
- •MoveTo
- •Reset
- •Crystal Data Source Type Library
- •CRDataSource
- •CRDataSource Properties
- •Bookmark
- •FieldCount
- •FieldName
- •FieldType
- •FieldValue
- •RecordCount
- •CRDataSource Methods
- •MoveFirst
- •MoveNext
- •CRVEventInfo Object
- •CRVEventInfo Object Properties
- •CRViewer Object
- •CRViewer Object Properties
- •CRViewer Object Methods
- •ActivateView
- •AddView
- •CloseView
- •Drag Method
- •ExportReport
- •GetCurrentPageNumber
- •GetViewPath
- •Move Method
- •PrintReport
- •Refresh
- •SearchByFormula
- •SearchForText
- •SetFocus
- •ShowFirstPage
- •ShowGroup
- •ShowLastPage
- •ShowNextPage
- •ShowNthPage
- •ShowPreviousPage
- •ShowWhatsThis
- •ViewReport
- •Zoom
- •ZOrder
- •CRViewer Object Events
- •Clicked Event
- •CloseButtonClicked Event
- •DblClicked Event
- •DownloadFinished Event
- •DownloadStarted Event
- •DragDrop Event
- •DragOver Event
- •DrillOnDetail Event
- •DrillOnGroup Event
- •ExportButtonClicked Event
- •FirstPageButtonClicked Event
- •GotFocus Event
- •GoToPageNClicked Event
- •GroupTreeButtonClicked Event
- •LastPageButtonClicked Event
- •LostFocus Event
- •NextPageButtonClicked Event
- •OnReportSourceError Event
- •PrevPageButtonClicked Event
- •PrintButtonClicked Event
- •RefreshButtonClicked Event
- •SearchButtonClicked Event
- •SearchExpertButtonClicked Event
- •SelectionFormulaBuilt Event
- •SelectionFormulaButtonClicked Event
- •ShowGroup Event
- •StopButtonClicked Event
- •Validate Event
- •ViewChanged Event
- •ZoomLevelChanged Event
- •CRVTrackCursorInfo Object
- •CRVTrackCursorInfo Object Properties
- •The Crystal Smart Viewer/Java Bean Properties
- •The Crystal Smart Viewer/Java Bean Methods
- •closeCurrentView
- •exportView
- •printView
- •refreshReport
- •searchForText
- •showLastPage
- •showPage
- •stopAllCommands
- •The Crystal Smart Viewer/Java Bean Events
- •ServerRequestEvent
- •ViewChangeEvent
- •Overview of Section Codes
- •Section Codes (32-bit)
- •Section Codes (16-bit)
- •ActiveX Controls Properties
- •Action
- •BoundReportFooter
- •BoundReportHeading
- •Connect
- •CopiesToPrinter
- •DataFiles
- •DataSource
- •Destination
- •DetailCopies
- •DialogParentHandle
- •DiscardSavedData
- •EMailCCList
- •EMailMessage
- •EMailSubject
- •EMailToList
- •EMailVIMBCCList
- •ExchangeFolder
- •ExchangePassword
- •ExchangeProfile
- •Formulas
- •GraphData
- •GraphOptions
- •GraphText
- •GraphType
- •GroupCondition
- •GroupSelectionFormula
- •GroupSortFields
- •LastErrorNumber
- •LastErrorString
- •LogOnInfo
- •MarginBottom
- •MarginLeft
- •MarginRight
- •MarginTop
- •ParameterFields
- •Password
- •PrintDay
- •PrinterCollation
- •PrinterCopies
- •PrinterDriver
- •PrinterName
- •PrinterPort
- •PrinterStartPage
- •PrinterStopPage
- •PrintFileCharSepQuote
- •PrintFileCharSepSeparator
- •PrintFileLinesPerPage
- •PrintFileName
- •PrintFileODBCPassword
- •PrintFileODBCSource
- •PrintFileODBCTable
- •PrintFileODBCUser
- •PrintFileType
- •PrintFileUseRptDateFmt
- •PrintFileUseRptNumberFmt
- •PrintMonth
- •PrintYear
- •ProgressDialog
- •RecordsPrinted
- •RecordsRead
- •RecordsSelected
- •ReportDisplayPage
- •ReportFileName
- •ReportLatestPage
- •ReportSource
- •ReportStartPage
- •ReportTitle
- •SectionFont
- •SectionFormat
- •SectionLineHeight
- •SectionMinHeight
- •SelectionFormula
- •SessionHandle
- •SortFields
- •SQLQuery
- •Status
- •StoredProcParam
- •SubreportToChange
- •UserName
- •WindowAllowDrillDown
- •WindowBorderStyle
- •WindowControlBox
- •WindowControls
- •WindowHeight
- •WindowLeft
- •WindowMaxButton
- •WindowMinButton
- •WindowParentHandle
- •WindowShowCancelBtn
- •WindowShowCloseBtn
- •WindowShowExportBtn
- •WindowShowGroupTree
- •WindowShowNavigationCtls
- •WindowShowPrintBtn
- •WindowShowPrintSetupBtn
- •WindowShowProgressCtls
- •WindowShowRefreshBtn
- •WindowShowSearchBtn
- •WindowShowZoomCtl
- •WindowState
- •WindowTitle
- •WindowTop
- •WindowWidth
- •ActiveX Controls Methods
- •FetchSelectionFormula
- •GetNSubreports
- •GetNthSubreportName
- •LogoffServer
- •LogonServer
- •PageCount
- •PageFirst
- •PageLast
- •PageNext
- •PagePrevious
- •PageShow
- •PageZoom
- •PageZoomNext
- •PrinterSelect
- •PrintReport
- •ReplaceSelectionFormula
- •Reset
- •RetrieveDataFiles
- •RetrieveLogonInfo
- •RetrieveSQLQuery
- •RetrieveStoredProcParams
- •SpecifyDataSourceField
- •ActiveX Controls Error Messages
- •Overview of the Crystal Report Engine Object Model
- •Object Hierarchy
- •Object Naming Conflicts
- •Object Model Events
- •Crystal Report Engine Object Model Reference
- •Objects and Collections
- •Application Object
- •Application Object Properties
- •Application Object Methods
- •CanClose
- •ClearError
- •LogOffServer
- •LogOnServer
- •OpenReport
- •Area Object
- •Area Object Properties
- •AreaOptions Object
- •AreaOptions Properties
- •Areas Collection
- •Areas Collection Properties
- •BlobFieldObject Object
- •BlobFieldObject Object Properties
- •BoxObject Object
- •BoxObject Object Properties
- •CrossTabObject Object
- •CrossTabObject Object Properties
- •Database Object
- •Database Object Properties
- •Database Object Methods
- •Verify
- •DatabaseFieldDefinition Object
- •Database FieldDefinition Object Properties
- •DatabaseFieldDefinitions Collection
- •Database FieldDefinitions Collection Properties
- •DatabaseParameter Object
- •Database Parameter Object Properties
- •DatabaseParameters Collection
- •DatabaseParameters Collection Properties
- •DatabaseTable Object
- •DatabaseTable Object Properties
- •DatabaseTable Object Methods
- •GetPrivateData
- •SetLogOnInfo
- •SetPrivateData
- •SetSessionInfo
- •TestConnectivity
- •DatabaseTables Collection
- •DatabaseTables Collection Properties
- •EventInfo Object (32-bit only)
- •EventInfo Object Properties
- •ExportOptions Object
- •ExportOptions Object Properties
- •ExportOptions Object Methods
- •PromptForExportOptions
- •Reset
- •FieldDefinitions Collection
- •FieldDefinitions Collection Properties
- •FieldObject Object
- •Field Object Object Properties
- •FieldValue Object (32-bit only)
- •FieldValue Object Properties
- •Font Object
- •Font Object Properties
- •FormulaFieldDefinition Object
- •FormulaFieldDefinition Properties
- •FormulaFieldDefinition Methods
- •Check
- •FormulaFieldDefinitions Collection
- •FormualFieldDefinitions Collection Properties
- •GlobalOptions Object
- •GlobalOptions Object Properties
- •GraphObject Object
- •GraphObject Object Properties
- •GroupAreaOptions Object
- •GraphAreaOptions Object Properties
- •GroupNameFieldDefinition Object
- •GroupNameFieldDefinition Object Properties
- •LineObject Object
- •LineObject Object Properties
- •OLEObject Object
- •OLEObject Object Properties
- •Page Object (32-bit only)
- •Page Object Properties
- •Page Object Methods
- •RenderEPF
- •RenderHTML
- •PageEngine Object (32-bit only)
- •PageEngine Object Properties
- •PageEngine Object Methods
- •CreatePageGenerator
- •RenderTotallerETF
- •RenderTotallerHTML
- •PageGenerator Object (32-bit only)
- •PageGenerator Object Properties
- •PageGenerator Object Methods
- •DrillOnGraph
- •GetPageNumberForGroup
- •SearchForText
- •Pages Collection (32-bit only)
- •Pages Collection Properties
- •PageSetup Object
- •PageSetup Object Properties
- •ParameterFieldDefinition Object
- •ParameterFieldDefinition Object Properties
- •ParameterFieldDefinition Object Methods
- •SetCurrentValue
- •SetDefaultValue
- •ParameterFieldDefinitions Collection
- •ParameterFieldDefinitions Collection Properties
- •PrinterInfo Object
- •PrinterInfo Object Properties
- •PrintingStatus Object
- •PrintingStatus Object Properties
- •PrintWindowOptions Object
- •PrintWindowOptions Object Properties
- •Report Object
- •Report Object Properties
- •Report Object Methods
- •AddGroup
- •CancelPrinting
- •ClearError
- •DiscardSavedData
- •Export
- •OpenSubreport
- •Preview
- •PrintOut
- •ReadRecords (32-bit only)
- •SelectPrinter
- •Report Object Events
- •ReadingRecords
- •Start
- •Stop
- •ReportObjects Collection
- •ReportObjects Collection Properties
- •ReportOptions Object
- •ReportOptions Object Properties
- •ReportSummaryInfo Object
- •ReportSummaryInfo Object Properties
- •Section Object
- •Section Object Properties
- •SectionOptions Object
- •SectionOptions Object Properties
- •Sections Collection
- •Sections Collection Properties
- •SortField Object
- •SortField Object Properties
- •SortFields Collection
- •SortFields Collection Properties
- •SortFields Collection Methods
- •Delete
- •SpecialVarFieldDefinition Object
- •SpecialVarFieldDefinition Object Properties
- •SubreportObject Object
- •Subreport Object Properties
- •SummaryFieldDefinition Object
- •SummaryFieldDefinition Object Properties
- •SummaryFieldDefinitions Collection
- •SummaryFieldDefinitions Collection Properties
- •TextObject Object
- •TextObject Object Properties
- •TrackCursorInfo Object
- •TrackCursorInfo Object Properties
- •View Object
- •View Object Properties
- •View Object Methods
- •Close
- •Export
- •NextMagnification
- •PrintOut
- •ShowFirstPage
- •ShowLastPage
- •ShowNextPage
- •ShowNthPage
- •ShowPreviousPage
- •ZoomPreviewWindow
- •Views Collection
- •Views Collection Properties
- •Window Object
- •Window Object Properties
- •Window Object Methods
- •Close
- •Window Object Events
- •ActivatePrintWindow
- •CancelButtonClicked
- •CloseButtonClicked
- •ClosePrintWindow
- •DeactivatePrintWindow
- •DrillOnDetail
- •DrillOnGroup
- •ExportButtonClicked
- •FirstPageButtonClicked
- •GroupTreeButtonClicked
- •LastPageButtonClicked
- •NextPageButtonClicked
- •PrevPageButtonClicked
- •PrintButtonClicked
- •RefreshButtonClicked
- •SearchButtonClicked
- •ShowGroup
- •ZoomLevelChanging
- •Error Codes
- •Automation Server Error Codes
- •Report Engine Error Codes
- •The Crystal NewEra Class Library
- •class CRPEngine
- •constructor CRPEngine::CRPEngine
- •class CRPEngine Methods
- •CRPEngine::CanClose
- •CRPEngine::Close
- •CRPEngine::GetEngineStatus
- •CRPEngine::GetErrorCode
- •CRPEngine::GetErrorText
- •CRPEngine::GetNPrintJobs
- •CRPEngine::GetVersion
- •CRPEngine::LogOffServer
- •CRPEngine::LogOnServer
- •CRPEngine::LogOnSQLServerWithPrivateInfo
- •CRPEngine::Open
- •CRPEngine::OpenJob
- •CRPEngine::PrintReport
- •class CRPEJob
- •constructor CRPEJob::CRPEJob
- •class CRPEJob Methods
- •CRPEJob::Cancel
- •CRPEJob::CheckFormula
- •CRPEJob::CheckGroupSelectionFormula
- •CRPEJob::CheckSelectionFormula
- •CRPEJob::Close
- •CRPEJob::CloseWindow
- •CRPEJob::DeleteNthGroupSortField
- •CRPEJob::DeleteNthSortField
- •CRPEJob::ExportPrintWindow
- •CRPEJob::ExportTo
- •CRPEJob::GetErrorCode
- •CRPEJob::GetErrorText
- •CRPEJob::GetExportOptions
- •CRPEJob::GetFormula
- •CRPEJob::GetGraphData
- •CRPEJob::GetGraphOptions
- •CRPEJob::GetGraphText
- •CRPEJob::GetGraphType
- •CRPEJob::GetGroupCondition
- •CRPEJob::GetGroupSelectionFormula
- •CRPEJob::GetJobHandle
- •CRPEJob::GetJobStatus
- •CRPEJob::GetLineHeight
- •CRPEJob::GetMargins
- •CRPEJob::GetMinimumSectionHeight
- •CRPEJob::GetNDetailCopies
- •CRPEJob::GetNFormulas
- •CRPEJob::GetNGroups
- •CRPEJob::GetNGroupSortFields
- •CRPEJob::GetNLinesInSection
- •CRPEJob::GetNParams
- •CRPEJob::GetNSortFields
- •CRPEJob::GetNTables
- •CRPEJob::GetNthFormula
- •CRPEJob::GetNthGroupSortField
- •CRPEJob::GetNthParam
- •CRPEJob::GetNthSortField
- •CRPEJob::GetNthTableLocation
- •CRPEJob::GetNthTableLogOnInfo
- •CRPEJob::GetNthTableSessionInfo
- •CRPEJob::GetNthTableType
- •CRPEJob::GetPrintDate
- •CRPEJob::GetPrintOptions
- •CRPEJob::GetReportTitle
- •CRPEJob::GetSectionFormat
- •CRPEJob::GetSelectedPrinter
- •CRPEJob::GetSelectionFormula
- •CRPEJob::GetSQLQuery
- •CRPEJob::IsJobFinished
- •CRPEJob::NextWindowMagnification
- •CRPEJob::OutputToPrinter
- •CRPEJob::OutputToWindow
- •CRPEJob::PrintControlsShowing
- •CRPEJob::PrintWindow
- •CRPEJob::SelectPrinter
- •CRPEJob::SetFont
- •CRPEJob::SetFormula
- •CRPEJob::SetGraphData
- •CRPEJob::SetGraphOptions
- •CRPEJob::SetGraphText
- •CRPEJob::SetGraphType
- •CRPEJob::SetGroupCondition
- •CRPEJob::SetGroupSelectionFormula
- •CRPEJob::SetLineHeight
- •CRPEJob::SetMargins
- •CRPEJob::SetMinimumSectionHeight
- •CRPEJob::SetNDetailCopies
- •CRPEJob::SetNthGroupSortField
- •CRPEJob::SetNthParam
- •CRPEJob::SetNthSortField
- •CRPEJob::SetNthTableLocation
- •CRPEJob::SetNthTableLogOnInfo
- •CRPEJob::SetNthTableSessionInfo
- •CRPEJob::SetPrintDate
- •CRPEJob::SetPrintOptions
- •CRPEJob::SetReportTitle
- •CRPEJob::SetSectionFormat
- •CRPEJob::SetSelectionFormula
- •CRPEJob::SetSQLQuery
- •CRPEJob::Show...Page
- •CRPEJob::ShowPrintControls
- •CRPEJob::StartJob
- •CRPEJob::TestNthTableConnectivity
- •CRPEJob::ZoomPreviewWindow
- •Other NewEra Classes
- •class CRPEExportOptions
- •Constructor CRPEExportOptions::CRPEExportOptions
- •class CRPEGraphDataInfo
- •Constructor CRPEGraphDataInfo::CRPEGraphDataInfo
- •class CRPEGraphOptions
- •Constructor CRPEGraphOptions::CRPEGraphOptions
- •class CRPEGraphTextInfo
- •Constructor CRPEGraphTextInfo::CRPEGraphTextInfo
- •class CRPEJobInfo
- •Constructor CRPEJobInfo::CRPEJobInfo
- •class CRPELogOnInfo
- •Constructor CRPELogOnInfo::CRPELogOnInfo
- •class CRPEPrintOptions
- •Constructor CRPEPrintOptions::CRPEPrintOptions
- •class CRPESectionOptions
- •Constructor CRPESectionOptions::CRPESectionOptions
- •class CRPESessionInfo
- •Constructor CRPESessionInfo::CRPESessionInfo
- •class CRPETableLocation
- •Constructor CRPETableLocation::CRPETableLocation
- •class CRPETableType
- •Constructor CRPETableType::CRPETableType
- •Class Constants
- •Chart Type Constants
- •Error Codes
- •Section Codes
- •Sort Order Constants
PrintingStatus Object Properties
Property |
Description |
Read/Write |
Restriction in |
|
event handler |
||||
|
|
|
||
|
|
|
|
|
|
|
|
|
|
NumberOfPages |
Gets report page number. |
Read only |
None |
|
|
|
|
|
|
NumberOfRecordPrinted |
Returns the number of records printed. |
Read only |
None |
|
|
|
|
|
|
NumberOfRecordRead |
Returns the number of records read. |
Read only |
None |
|
NumberOfRecordSelected |
Returns the number of records selected. |
Read only |
None |
|
|
|
|
|
|
Parent |
Returns the parent of PrintingStatus |
Read only |
None |
|
|
(Report Object). |
|
|
|
|
|
|
|
|
Progress |
Returns the printing progress. |
Read only |
None |
|
|
|
|
|
Report Object
A report corresponds to a print job in the Crystal Report Engine. When the report object is destroyed, or goes out of focus, it closes the print job. It holds on to Application Object (page 18). When a Report Object get destroyed, it releases the application.
Access to the Report Object is dependent on the object variable you create. If the object variable goes out of scope, you will lose access to the Report Object and, therefore, the report. You may want to declare your Report Object variable as Global.
Report Object Properties
Property |
Description |
Read/Write |
Restriction in event handler |
|
|
|
|
|
|
|
|
Application |
Returns a reference to the |
Read only |
|
|
Application Object (page 18), |
|
|
|
this object is associated with. |
|
|
|
|
|
|
ApplicationName |
Returns or sets the application |
Read/Write |
|
|
name. |
|
|
Report Designer Component Object Model |
93 |
Property |
Description |
Read/Write |
Restriction in event handler |
|
|
|
|
|
|
|
|
Areas |
Returns Areas Collection (page |
Read only |
None |
|
24), a collection of all the areas |
|
|
|
in the report which can be |
|
|
|
indexed by a number or by a |
|
|
|
string, such as “RH”, “GF1”. |
|
|
|
The areas are in the same order |
|
|
|
as on the Seagate Crystal |
|
|
|
Reports Design Tab. For |
|
|
|
Example: RH, PH, GH1,...GHn, |
|
|
|
D, GFn,...GF1, RF, PF. The |
|
|
|
abbreviations for areas are case |
|
|
|
sensitive. |
|
|
|
|
|
|
BottomMargin |
Returns or sets the page |
Read/Write |
Can be written only when |
|
bottom margin. |
|
formatting idle. |
CanPerform- |
Checks whether the report can |
Read only |
|
GroupingOnServer |
perform grouping on the |
|
|
|
server. |
|
|
|
|
|
|
CaseInsensitiveSQL |
Returns or sets the report |
Read/Write |
Can be written only when |
Data |
option that indicates whether |
|
formatting idle. |
|
the SQL data used in the report |
|
|
|
becomes case sensitive. |
|
|
|
|
|
|
ConvertDateTime- |
Returns or sets the report |
Read/Write |
Can be written only when |
Type |
option that specifies the format |
|
formatting idle. |
|
to be converted for date/time |
|
|
|
fields. |
|
|
|
|
|
|
ConvertNullFieldTo |
Returns or sets the report |
Read/Write |
Can be written only when |
Default |
option that indicates whether |
|
formatting idle. |
|
to convert any null values to |
|
|
|
the database field default. |
|
|
|
|
|
|
Database |
Returns the Database Object |
Read only |
None |
|
(page 30), which represents the |
|
|
|
database used in the report. |
|
|
|
|
|
|
DisplayProgress |
Enable or disable the progress |
Read/Write |
Can be written only when |
Dialog |
dialog. |
|
formatting idle. |
DriverName |
Returns the driver name used |
Read/Write |
None |
|
by the current printer. Returns |
|
|
|
an empty string if default port |
|
|
|
is used. |
|
|
Report Designer Component Object Model |
94 |
Property |
Description |
Read/Write |
Restriction in event handler |
|
|
|
|
|
|
|
|
DriverName |
Returns the driver name used |
Read/Write |
None |
|
by the current printer. Returns |
|
|
|
an empty string if default port |
|
|
|
is used. |
|
|
|
|
|
|
EnableParameter |
Enable or disable prompting |
Read/Write |
Can be written only when |
Prompting |
for parameter fields. |
|
formatting idle. |
ExportOptions |
Returns ExportOptions Object |
Read only |
None |
|
(page 41). |
|
|
|
|
|
|
FormulaFields |
Returns |
Read only |
None |
|
FormulaFieldDefinitions |
|
|
|
Collection, Page 53, a collection |
|
|
|
of all the named |
|
|
|
FormulaFieldDefinitions |
|
|
|
defined in the Report. |
|
|
GroupNameFields |
Returns a collection of all the |
Read only |
None |
|
group name fields defined in |
|
|
|
the report. |
|
|
|
|
|
|
GroupSelection |
Returns/Sets the group |
Read/Write |
Can be written only when |
Formula |
selection formula. |
|
formatting idle. |
|
|
|
|
GroupSortFields |
Gets group sort field collection. |
Read only |
None |
|
|
|
|
HasSavedData |
Returns Boolean value |
Read only |
None |
|
indicating whether report |
|
|
|
includes saved data. |
|
|
|
|
|
|
KeywordsInReport |
Returns or sets the keywords |
Read/Write |
None |
|
in the report. |
|
|
|
|
|
|
Kind |
Returns crReportKind (see |
Read only |
None |
|
table below) that specifies |
|
|
|
what “kind” of object. |
|
|
|
|
|
|
|
|
|
|
|
Constant |
Value |
|
|
|
|
|
|
|
|
|
|
crColumnarReport |
1 |
|
|
|
|
|
|
crLabelReport |
2 |
|
|
|
|
|
|
crMulColumnReport |
3 |
|
|
|
|
|
Property |
Description |
Read/Write |
Restriction in event handler |
|
|
|
|
|
|
|
|
LeftMargin |
Returns or sets the page left |
Read/Write |
Can be written only when |
|
margin. |
|
formatting idle. |
|
|
|
|
Report Designer Component Object Model |
95 |
Property |
Description |
Read/Write |
Restriction in event handler |
|
|
|
|
|
|
|
|
MorePrintEngine |
Returns or sets the report |
Read/Write |
Can be written only when |
ErrorMessages |
option that indicates whether |
|
formatting idle. |
|
to pop up database error |
|
|
|
dialogs during printing when a |
|
|
|
Report Engine error occurs. |
|
|
|
|
|
|
NumberOfGroup |
Returns the number of groups |
Read only |
None |
|
in the report. |
|
|
|
|
|
|
PageEngine |
Returns the PageEngine object. |
Read only |
None |
|
|
|
|
PaperOrientation |
Returns or sets the current |
Read/Write |
Can be written only when |
|
printer paper orientation. For |
|
formatting idle. |
|
the default printer, |
|
|
|
crDefaultPaperOrientation is |
|
|
|
returned. |
|
|
|
|
|
|
PaperSize |
Returns or sets the current |
Read/Write |
Can be read or written only |
|
printer paper size. For the |
|
when formatting idle. |
|
default printer, |
|
|
|
crDefaultPaperSize is returned. |
|
|
|
|
|
|
ParameterFields |
Returns |
Read only |
None |
|
ParameterFieldDefinitions |
|
|
|
Collection, Page 92, a collection |
|
|
|
of all the |
|
|
|
ParameterFieldDefinitions |
|
|
|
defined in the report. This |
|
|
|
property will return parameter |
|
|
|
field found in the main report |
|
|
|
as well as any subreports |
|
|
|
included in the report (i.e., if |
|
|
|
the main report has 3 |
|
|
|
parameters and a subreport |
|
|
|
included within the report has |
|
|
|
an additional 2 parameters, the |
|
|
|
number of parameter fields in |
|
|
|
the collection returned by |
|
|
|
Report.ParameterFields would |
|
|
|
be 5. |
|
|
|
|
|
|
Parent |
Reference to the Parent object |
Read only |
None |
|
(Application Object (page 18)). |
|
|
|
|
|
|
PerformGrouping |
Gets or sets performing |
Read/Write |
Can be written only when |
OnServer |
grouping on server option. |
|
formatting idle. |
|
|
|
|
Report Designer Component Object Model |
96 |
Property |
Description |
Read/Write |
Restriction in event handler |
|
|
|
|
|
|
|
|
PortName |
Returns the port name used by |
Read only |
None |
|
the current printer. Returns |
|
|
|
and empty string if the default |
|
|
|
port is used. |
|
|
|
|
|
|
PrintDate |
Returns/Sets the print date for |
Read/Write |
Can be written only when |
|
the report. By default, the |
|
formatting idle. |
|
current date will be used. |
|
|
|
|
|
|
PrinterName |
Returns the current printer |
Read only |
None |
|
name. Returns an empty string |
|
|
|
if the default printer is used. |
|
|
PrintingStatus |
Returns PrintingStatus Object |
Read only |
None |
|
(page 92). |
|
|
|
|
|
|
RecordSelection |
Returns/Sets record selection |
Read/Write |
Can be written only when |
Formula |
formula. |
|
formatting idle. |
RecordSortFields |
Returns SortFields Collection, |
Read only |
None |
|
Page 111, a collection of record |
|
|
|
sort fields. |
|
|
|
|
|
|
ReportAuthor |
Returns or sets the report |
Read/Write |
None |
|
author. |
|
|
|
|
|
|
ReportComments |
Returns or sets report |
Read/Write |
None |
|
comments. |
|
|
|
|
|
|
ReportSubject |
Returns or sets the report |
Read/Write |
None |
|
subject. |
|
|
ReportTemplate |
Returns or sets the report |
Read/Write |
None |
|
template. |
|
|
|
|
|
|
ReportTitle |
Returns or sets the report title. |
Read/Write |
Can be written only when |
|
|
|
formatting idle. |
RightMargin |
Returns or sets the page right |
Read/Write |
Can be written only when |
|
margin. |
|
formatting idle. |
|
|
|
|
RunningTotalFields |
Gets running total field |
Read only |
|
|
collection. |
|
|
Sections |
Returns SortFields Collection, |
Read only |
None |
|
Page 111, a collection of all the |
|
|
|
sections in the report. |
|
|
|
|
|
|
SQLExpression |
Gets SQL expression field |
Read only |
None |
Fields |
collection. |
|
|
|
|
|
|
SQLQueryString |
Gets or sets SQL query string. |
Read only |
None |
|
|
|
|
Report Designer Component Object Model |
97 |