主题:VB中水晶报表打印问题---紧急!
该报表有子报表,界面上有一打印按钮 ,点击按钮直接去打印机上的,第一次打能成功,但是连续再打一次就报invalid formula name?请问是什么问题?
strConn = "DSN=" & StrDsn & ";" & _
"UID=" & StrUsername & ";" & _
"PWD=" & StrPassword
ordst.Connect = strConn
ordst.UserName = StrUsername
ordst.SubreportToChange = "ordstsub.rpt"
ordst.Connect = strConn
ordst.Action = 1 执行到这步就出错了
strConn = "DSN=" & StrDsn & ";" & _
"UID=" & StrUsername & ";" & _
"PWD=" & StrPassword
ordst.Connect = strConn
ordst.UserName = StrUsername
ordst.SubreportToChange = "ordstsub.rpt"
ordst.Connect = strConn
ordst.Action = 1 执行到这步就出错了