Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report runs twice before displaying data in viewer

Status
Not open for further replies.

chicirjs

Programmer
Aug 29, 2001
3
US
We are running Crystal Reports 8.5 through the ActiveX viewer in ASP. We are setting the data source and the parameters dynamically through the VBScript in the ASP. Everything works fine if the report has a sub-report. However, what we have found is that the report seems to run twice if it does not contain a sub-report and during the second run, the parameters are all set to Null. As a result, no data is returned in the report, even if the report only shows the parms that are passed to it.
 
Thanks for offering to help, but we were able to solve our own problem. It turns out that someone trying "help" actually replaced "morerequiredsteps.asp" with an older version which caused an issue because it didn't destroy an object that caused all sorts of trouble for us.
 
Hi! chicirjs,

I am also running Crystal Reports 8.5 through the ActiveX viewer in ASP. However I need to know how to set the parameters dynamically through the VBScript. Can please help me with some sample code.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top