水晶报表为什么没有刷新数据
水晶报表版本:11.5.0.313
环境:vb.net2005 、SQL 2005,水晶报表
问题:已经向报表文件传递参数,但报表确没有刷新数据。
代码如下:
strRPTFile = GetReportPath( "GL ", "Voucher.rpt ")
For I As Integer = 0 To str.Length - 1
If str(I).IndexOf( "= ") > 0 Then
If str(I).Split( "= ")(0).ToUpper = "Server ".ToUpper Then
srv = str(I).Split( "= ")(1)
End If
If str(I).Split( "= ")(0).ToUpper = "DataBase ".ToUpper Then
db = str(I).Split( "= ")(1)
End If
If str(I).Split( "= ")(0).ToUpper = "Uid ".ToUpper Then
user = str(I).Split( "= ")(1)
End If
If str(I).Split( "= ")(0).ToUpper = "Pwd ".ToUpper Or str(I).Split( "= ")(0).ToUpper = "Password ".ToUpper Then
pwd = str(I).Split( "= ")(1)
End If