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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX Viewer and Dynamic Parameters - ASP App

Status
Not open for further replies.

jmcclain

Programmer
Aug 14, 2002
27
US
I'm using CE9. I have a web app that needs to pass parameter values to the report at run time.

Using an example from CrystalDecisions.com I can do this using a series of code that results in:

Set Viewer = CreateObject("CrystalReports.CrystalReportInteractiveViewer")
With Viewer
.reportsource = report document
.parameterfields = fields
end With

Viewer.ProcessHTTPRequest Request, Response, Session


My boss wants me to use the ActiveX viewer. Is there a way to do this with ActiveX?

Currently I use a line like this to call the ActiveX viewer

...
Response.Redirect("viewrpt.cwr?id="+ID+"....)

My question is where would I commit the parameters when I use this type of code?

HELP!!
 
Take a look at the Crystal Web Request and passing parameters via "promptEX" information in the file WebDeveloperHelp.chm or Crystal Enterprise Web Developer's Guide. It tells you all you need to know about passing parameters and choosing a viewer.

Unfortunately for me, it does not tell me about changing the parameters on the particular viewer that I am using. That is my current issue...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top