Hi,
I made some reports that have parameters.
When I was doing them, I created a connection to a server (nwsrv) so that I could design the reports. Now, when I try to call some of the reports (from my vb code), even passing a NEW connection string, those reports still try to connect to the original server....
Here is an code sample of how I call the reports:
............................................................................
............................................................................
Dim objReport As New Reports.clsReports
Try
With objReport
.ConnString = sConnectSTR
.PathReport = glsPathReports
.PrintWithNoRows = False
.ResetParameters()
..............................................................
..............................................................
I don't know why some reports don't need to have the connection changed inside the reports and other have. I always send the connection from my code. Can someone help?
Thanks
I made some reports that have parameters.
When I was doing them, I created a connection to a server (nwsrv) so that I could design the reports. Now, when I try to call some of the reports (from my vb code), even passing a NEW connection string, those reports still try to connect to the original server....
Here is an code sample of how I call the reports:
............................................................................
............................................................................
Dim objReport As New Reports.clsReports
Try
With objReport
.ConnString = sConnectSTR
.PathReport = glsPathReports
.PrintWithNoRows = False
.ResetParameters()
..............................................................
..............................................................
I don't know why some reports don't need to have the connection changed inside the reports and other have. I always send the connection from my code. Can someone help?
Thanks