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

Passing Multiple sets of Parameters dynamically !! How ???

Status
Not open for further replies.

donv

Programmer
Jun 11, 2001
18
US
Hi all
I need to program a web report which has the following scenario.
There are a set of rows in a page with a checkbox associated with each of the rows.The user has the option of checking one or more of the checkboxes.He can as well invoke "check all" in that page.Now, I need to show all such checked records(with more information) in a crystal report.
Tillnow for all the web reports I have been using a string to pass all the parameter values (to append to the where clause)to the underlying VIEW of that report.I then do a Submit.
In the above case for evry row selected I need to capture 4 columns(parameters)that uniquely define each such row.
The Question is, How can I dynamically capture all such parameters to be passed to the (view)report?
I am totally lost on this requirement.Please Help.

Thanks
donv

 
Have a look at the AddCurrentValue method of the ParameterFieldDefinition object (see Crystal Reports Developer Online Help).

If you design your parameter (in Crystal) to accept multiple values, you can call this method repeatedly
to add as many values you wish.

Works well for me.

hth,
- Ido CUT (Crystal UTilities): e-mailing, exporting, electronic bursting & distribution of Crystal Reports:
 
Hi Ido
Thanks for your response.My report is based on J2EE platform
and also on Coldfusion.I infact use Javascript to design the parameter string to be submitted to the report.
I am not sure whether the Report Designer Component Object Model works on these platforms.
Is there any other way ?? Please let me know

Thanks once again
donv
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top