SasDev
asked on
Open Multiple Crystal Reports
Hello,
I have an aspx page which opens an application form in crystal report when the page loads. I'm using vb code to load the report, provide DB credentials, and reports parameters - this works great.
I now want to open multiple application forms onload using the same Crystal Report Viewer. I'm sure this can be achieved but have no idea how.
I'd appreciate any help.
Thanks.
I have an aspx page which opens an application form in crystal report when the page loads. I'm using vb code to load the report, provide DB credentials, and reports parameters - this works great.
I now want to open multiple application forms onload using the same Crystal Report Viewer. I'm sure this can be achieved but have no idea how.
I'd appreciate any help.
Thanks.
ASKER
If I were to use multiple viewers, how is that achieved? I'd want to pass application ID's (1,2,3,4,5) or ID's (1,3,8,26,130) to CR; view them in a window and print them with a single click.
What do you mean application IDs?
Multiple viewers will either be on a single form or on multiple forms.
Each would have code to load as you do now.
mlmcc
Multiple viewers will either be on a single form or on multiple forms.
Each would have code to load as you do now.
mlmcc
It seems that there is no such a need of multiple viewers.
You can design your Report in way that will generate One single report and generate Multiple pages for multiple forms by getting Application ID's as Input.
Lets say , You will create a Simple report of Order Details pattern where you will pass Order ID and report will show Order ID and their details Page wise. (One Order Detail / Per Page)
Then you can print them on a single click.
You can design your Report in way that will generate One single report and generate Multiple pages for multiple forms by getting Application ID's as Input.
Lets say , You will create a Simple report of Order Details pattern where you will pass Order ID and report will show Order ID and their details Page wise. (One Order Detail / Per Page)
Then you can print them on a single click.
ASKER
Thanks for your reply!
How can I achieved this? My report can only accept a single parameter at a time. I don't know how to pass multiple parameters from my .Net page and collect them in CR.
I'd appreciate any examples too.
Thanks much.
You can design your Report in way that will generate One single report and generate Multiple pages for multiple forms by getting Application ID's as Input.
How can I achieved this? My report can only accept a single parameter at a time. I don't know how to pass multiple parameters from my .Net page and collect them in CR.
I'd appreciate any examples too.
Thanks much.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks again for your comment.
I implemented kind of similar thought in achieving the goal. On my ASP.Net onclick event I'm calling CR which gets all the required parameters from a SP on load. And I have this SP configured to return the required ID's.
So, it's similar to what you're suggesting but a little different :)
Thanks much.
I implemented kind of similar thought in achieving the goal. On my ASP.Net onclick event I'm calling CR which gets all the required parameters from a SP on load. And I have this SP configured to return the required ID's.
So, it's similar to what you're suggesting but a little different :)
Thanks much.
Glad to help you !
Always try to think in all possible ways...Not stick with one idea :)
Always try to think in all possible ways...Not stick with one idea :)
You can have multiple viewers in an application and open several reports that way.
mlmcc