Crystal report from asp.net

AnnaJames77
AnnaJames77 used Ask the Experts™
on
In my report i pass 3 parameters. I have added a checked listbox.  What i want now is, for each selected items of the listbox i need to generate the crystalreport ie, it should generate as each  pages in crystal report. Please help

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
Are you able to produce 1 report?

If so just loop through the list calling the report for each checked item.

mlmcc

Author

Commented:
Yes i can produce report. when i give direct to printer it displays all. but in crystal report viewer it shows the  page of only the last selected one. PLSS HELP
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
I don't follow the it shows the page of only the last one.

Are you trying to pass multiple values to a parameter?

mlmcc
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

Commented:
I hope you are using a report viewer. A report viewer can show only one report at a time. Since you have gne through all the reports in List only Last is showing in the ReportViewer. I think you need to open multiple pages for each Report. In that case you will be able to view all the Reports.

Author

Commented:
how can i open multiple pages for each Report.
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
A report opens in its entirety.  If there a multiple pages then you just have to page through them.

Are you producing 1 report or is it really 3 reports?
If it is 3 reports then you have to have 3 viewers and assign a copy of the report to each viewer.

mlmcc

Author

Commented:
no i cannot say how many reports will be there.it can be even 1000
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
If they must be opened as individual reports you could add a VIEW NEXT button to the viewing form and make the calling form wait until you click it to run the next value.

Can you pass all the values in and produce a single report that the user has to page through?

mlmcc
Commented:
You have to open each report in New window with same url but different reports assigned to the different viewers. If you want to you can add a random no. to the urls so that url becomes unique.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial