Update the Crystal Report Logon information.
Namespace:
JiwaFinancials.Jiwa.JiwaApplication.JiwaPrintReport
Assembly:
JiwaApplication (in JiwaApplication.dll)
public static void CrystalReportLogOn(
ref ReportDocument ReportObject,
string serverName,
string databaseName,
string userName,
string password
)
Public Shared Sub CrystalReportLogOn ( _
ByRef ReportObject As ReportDocument, _
serverName As String, _
databaseName As String, _
userName As String, _
password As String _
)
public:
static void CrystalReportLogOn(
ReportDocument^% ReportObject,
String^ serverName,
String^ databaseName,
String^ userName,
String^ password
)
Parameters
- ReportObject
- Type: ReportDocument%
- serverName
- Type: String
- databaseName
- Type: String
- userName
- Type: String
- password
- Type: String
This method will also set the data connection to 'SQLOLEDB' to ensure data connection.