如何设置安装在另一台服务器上的 MySQL 数据库的路径,例如192.168.1.35
?
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