0
如何設置安裝在另一臺服務器上的MySQL數據庫的路徑,例如192.168.1.35
?Crystal report4.6.1.0與Mysql的連接
strReportName = "Schedule.rpt"
intReportDestination = crptToWindow
With rptAnnSalExp
.ReportFileName = GetAppPath1() & strReportName
.Destination = intReportDestination
.Connect = "SERVER=192.168.1.35;DATABASE=test;User=amu; Password=amu"
rptAnnSalExp.Action = crptMaximized
End With