Visual Studio Developer Center >
Visual Studio Forums
>
Crystal Reports for Visual Studio
>
Sub reports
Sub reports
- Hello.
I develop an application using asp.net 2005 with vb.net 2005 and oracle database. In my application i create crystalreports.Here i bind one dataset to crystalreportviewer.
It will shows the report. But i want to use another dataset to bind and its reports will show in same report under the previous same report. How can i show this in same report?
Thanks
Dileep
Answers
- Hi,
I'm not sure exactly what do you want to achieve , but report source of a subreport can be set like we set report source of main report.
If you want the same data , I'd suggest you create another identical dataset and set it to subreport.
Harry
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer byHarry ZhuMSFT, ModeratorFriday, November 13, 2009 3:59 AM
All Replies
- hello,
Please reply.
Thanks - Hi,
You might need to be more clear about the question.
You want to show the content of another dataset? How do you define the two datasets?
Harry
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Hello,
I want to know how to create a subreports in crystal report with same dataset step by step.The important thing is difrrrnt sql query is passed to same dataset.
Thanks
Dileep - Hi,
I'm not sure exactly what do you want to achieve , but report source of a subreport can be set like we set report source of main report.
If you want the same data , I'd suggest you create another identical dataset and set it to subreport.
Harry
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer byHarry ZhuMSFT, ModeratorFriday, November 13, 2009 3:59 AM


