Writing Code
 Crystal Reports Forum : Crystal Reports .NET 2003 : Writing Code
Message Icon Topic: Sub report question. Post Reply Post New Topic
Author Message
yasinirshad
Newbie
Newbie
Avatar

Joined: 24 Sep 2007
Location: Saudi Arabia
Online Status: Offline
Posts: 39
Quote yasinirshad Replybullet Topic: Sub report question.
    Posted: 28 May 2008 at 11:10pm
Hi,
I have 2 questions.
My first question is how to include a sub report in a report. I have made 2 crystal reports named for eg. report1 and report2. report1 is my main report and report2 my sub report. I have a parameter "Date" when user selects date in main report from 1st Jan-2008 to 29-May 2008 , then in main report it will show summary of the date selected (for whole year), then as i click next pages, it shd show summary for month-wise (this coming from sub report). I tried inserting sub report this way
-Insert - sub report- insert subreport report choose a report (i browsed my subreport)- then how do i link it?
 
My second question is in asp.net, how do I EXPORT crystal report on users local drive..In windows appln (vb.net) it is possible but how to do it in asp.net?
 
Thanks to help.
Thanks,
Yasin.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 29 May 2008 at 12:21pm
For your subreport question:
 
I usually create subreports directly inside the main reports instead of as a separate file.  Here's something that may work for you, though...
 
1.  Import the subreport into your main report.
2.  Link the subreport to the date params in your main report.
3.  Edit the subreport and delete your original date params.
4.  In the subreport, modify the Select Expert to use the parameters from the main report (they'll start with "PM" in the subreport) as if they were the original parameters that you just deleted.
 
-Dell
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.