I have created a few ASP pages to interact with Crystal Enterprise. I used their white paper entitled URL Commands for the Web Component Server for Crystal Enterprise 8.0. The resulting URL that I am sending is viewrpt.cwr?id=745&init=actx:connect&apsuser=username&apspassword=password&apsauthtype=secEnterprise&promptOnRefresh=0&promptex-AGENCY="CSB"&promptex-PROGRAM="ChildCare"&promptex-CA%20ASSIGNED="lboone"&promptex-DATE=["Date(2001,2,25)"-"Date(2007,6,30)"]
this sequence brings up the report but not with the selected parameters. It's defaulting to the first time the report was run successfully. I have also tried inserting the report name where viewrpt.cwr is and removing the id=745 and came up with invalid filename. If I reinsert the id=745 with the report name then it defaults to the aforementioned action. Likewise it will default to the same page no matter what my filename is. It could be asdfasdfasdf.rpt and as long as that id=745 is there then it accepts it and displays the report's first successful run. We also tried the promptex0 and prompt0 methods for parameters, but to no avail.
What needs to be done either on my ASP side or on the Enterprise side that will relay to the server that I wish to reestablish my parameters with the ones mentioned and execute the query and display the results?
this sequence brings up the report but not with the selected parameters. It's defaulting to the first time the report was run successfully. I have also tried inserting the report name where viewrpt.cwr is and removing the id=745 and came up with invalid filename. If I reinsert the id=745 with the report name then it defaults to the aforementioned action. Likewise it will default to the same page no matter what my filename is. It could be asdfasdfasdf.rpt and as long as that id=745 is there then it accepts it and displays the report's first successful run. We also tried the promptex0 and prompt0 methods for parameters, but to no avail.
What needs to be done either on my ASP side or on the Enterprise side that will relay to the server that I wish to reestablish my parameters with the ones mentioned and execute the query and display the results?