|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 16, 2012 6:16 AM
Points: 21,
Visits: 43
|
|
I wan t to display data in parent report which has column Position and WeekDay. the position has data : manager, Accountant and weekDay Column shows the day position is going to start
for example if 3 manager are going to start their job on Monday then report shows
--------------- ------------------weekday Position ----- -----------------------Mon----------Tue----------wed manager -----------------------3 scott ---------------------------------- james -----------------------------------david DBA---------------------------------------------------------- ------- ----------2 ricky ------------------------------------------------------------------ ----------- Mick
the Position colum is row group and weekday column is column group '
the total number 3 and names are need to be displayed in tables for example for above record we would have one column 3 and three rows display three names .
(the total number 3 and names are coming from sub report) Thanks
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Sunday, April 28, 2013 9:53 PM
Points: 100,
Visits: 476
|
|
I couldn't understand what you were trying to do, but accessing sub report values from the parent report isn't possible.
I think what you want can be done in a different way though. Surely you can create the T-SQL query that has the counts and values you want; and then you can pass specific things down into the sub report to show them piecemeal.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 16, 2012 6:16 AM
Points: 21,
Visits: 43
|
|
no i want to display a sub report in parent report.... the position data and weekday data is coming from main report and the names are coming from sub report...
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 1:35 PM
Points: 76,
Visits: 280
|
|
Here's something that I've done. I have a few Crystal reports that have subreports in them. I was trying to created an SSRS report exactly the same as the Crystal report. Well it wasnt coming out exactly as I wanted it.
I solved my issue with one report, without using any subreports in SSRS.
If both reports are using the same query, great; if not, you can always add another dataset. Here goes:
1)Insert a List object. 2)Go to the tablix reporties and group it. Choose a field that works for you. 3)Insert a Rectangle object into the List object. (This object will fill in the tablix cell. So will look like there's no object in the tablix, but there is.) 4)Create your main tablix that contains your "MainReport" and then create a new tablix that's your "SubReport." 5)After you're done creating both tablix, insert them into the Rectangle object. 6) once your insert both tablix into the Rectangle, you can pretty much free form within the Rectangle object.
You probably have to mess with the Page Break options to have it display correctly, but this worked for me for several reports. So instead of working with two reports, one thats your Main Report and the second which is the SubReport, you only have one report to deal with.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Sunday, April 28, 2013 9:53 PM
Points: 100,
Visits: 476
|
|
| Me too, I've done the same. I don't get why he's trying to do it his way though.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 16, 2012 6:16 AM
Points: 21,
Visits: 43
|
|
Thanks , Actually i have found a solution .So i want to share it with you .The microsoft Dynamic CRM is using a parameter "CRM_URL =CRM_URL should be set to the URL of Microsoft CRM. This is usually http://<crmserver>/CRMReports/viewer/drillopen.aspx."
and then set the text box action properties to
=IIf(IsNothing(Fields!opportunityid.Value), Nothing, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}?ID={1}&LogicalName={2}", Parameters!CRM_URL.Value, Fields!opportunityid.Value, "opportunity"))
The following are the two site from where i got this info...
http://technet.microsoft.com/en-us/library/aa682806.aspx
http://social.microsoft.com/Forums/en/crmdevelopment/thread/809f4786-ea56-414f-bb6e-e960cc8c6f6c
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 12:03 AM
Points: 1,
Visits: 12
|
|
DarthBurrito (10/14/2010) Here's something that I've done. I have a few Crystal reports that have subreports in them. I was trying to created an SSRS report exactly the same as the Crystal report. Well it wasnt coming out exactly as I wanted it.
I solved my issue with one report, without using any subreports in SSRS.
If both reports are using the same query, great; if not, you can always add another dataset. Here goes:
1)Insert a List object. 2)Go to the tablix reporties and group it. Choose a field that works for you. 3)Insert a Rectangle object into the List object. (This object will fill in the tablix cell. So will look like there's no object in the tablix, but there is.) 4)Create your main tablix that contains your "MainReport" and then create a new tablix that's your "SubReport." 5)After you're done creating both tablix, insert them into the Rectangle object. 6) once your insert both tablix into the Rectangle, you can pretty much free form within the Rectangle object.
You probably have to mess with the Page Break options to have it display correctly, but this worked for me for several reports. So instead of working with two reports, one thats your Main Report and the second which is the SubReport, you only have one report to deal with.
Thanks a lot.. this solution worked for me.
|
|
|
|