{CompanyName} FlexyGo

EntityCollection..::..GetCrystalReportDocument Method

Gets a crystal report document linked to the object.

Namespace:  FLEXYGO.Objects
Assembly:  flxEntity (in flxEntity.dll)

Syntax


public CrystalReportDocument GetCrystalReportDocument(
	string ReportName,
	string ReportSelectionFormula,
	eReportModes ReportMode,
	List<KeyValuePairs> ReportParams
)
Public Function GetCrystalReportDocument ( _
	ReportName As String, _
	ReportSelectionFormula As String, _
	ReportMode As eReportModes, _
	ReportParams As List(Of KeyValuePairs) _
) As CrystalReportDocument

Parameters

ReportName
Type: String
Name of the report.
ReportSelectionFormula
Type: String
The report selection formula.
ReportMode
Type: FLEXYGO.Reporting..::..eReportModes
A report mode.
ReportParams
Type: List<(Of <(<'KeyValuePairs>)>)>
The report parameters.

Return Value

CrystalDecisions.CrystalReports.Engine.ReportDocument.

Exceptions


ExceptionCondition
FLEXYGO.Exceptions..::..LocalizedException Report Id {0} could not be loaded or Report formula {0}