{CompanyName} FlexyGo

CrystalReportDocument Constructor

Constructor for new crystal Report document object.

Namespace:  FLEXYGO.Reporting
Assembly:  flxUtilities (in flxUtilities.dll)

Syntax


public CrystalReportDocument(
	string ReportPath,
	string ConnString,
	eReportModes ReportMode,
	List<KeyValuePairs> ReportParams,
	string ObjectTableName,
	string ObjSQLFilter,
	string ReportSelectionFormula,
	bool FilterReportReplacingSentence,
	ArrayList KeyCollection
)
Public Sub New ( _
	ReportPath As String, _
	ConnString As String, _
	ReportMode As eReportModes, _
	ReportParams As List(Of KeyValuePairs), _
	ObjectTableName As String, _
	ObjSQLFilter As String, _
	ReportSelectionFormula As String, _
	FilterReportReplacingSentence As Boolean, _
	KeyCollection As ArrayList _
)

Parameters

ReportPath
Type: String
Relative file of rpt file.
ConnString
Type: String
The database connection string for the report.
ReportMode
Type: FLEXYGO.Reporting..::..eReportModes
Word,Excel or PDF one oh the eReportModes modes
ReportParams
Type: List<(Of <(<'KeyValuePairs>)>)>
Key value pairs of report params
ObjectTableName
Type: String
If report is filtered using object or collection, the ientity tablename.
ObjSQLFilter
Type: String
If report is filtered using object or collection, the additional where (in sql format).
ReportSelectionFormula
Type: String
Record selection formula in crystal reports format.
FilterReportReplacingSentence
Type: Boolean
KeyCollection
Type: ArrayList

Exceptions


ExceptionCondition
Exception Error loading report ex.Message or