Multiple datasource with a sub-report with Java

Hi All,
I have a group of data from which I will create subset to separate on a group. Now, I have multiple (say 3) datasets with me for which I want to perform the following tasks:
Add first dataset to the databasecontroller, after adding the dataset call a sub-report just below the added datasource.
The same needs to be repeated for all the datasets I have. Can anyone help to solve this?

Jason,
I posted a similar thread to yours in the past.
Please click on the link below.
[Re: Exporting to Excel when subreports exist]
I hope this helps,
Regards,
Zack H.
Edited by: Zack H on Feb 23, 2009 4:52 PM

Similar Messages

  • How can I have Main report with a sub-report with in a sub-report??

    I have a main report that has about 5 subreports, almost like a dashboard.  I need to make one of those subreports contain another subreport.
    I don't have the option to add a sub-report with in my sub-report, so what I thought would work is remove my sub-report from my main report, then add my new sub-report, then add that report back to my main report.
    Everytime I add the sub-report that has a sub-report to my main report I lose the second sub.
    From what I've read on the internet is you can't have a sub-report contain another sub-report.  What some say is you can hyperlink that second sub report.
    When I setup my hyper link to open the second sub-report I'm prompted to re-enter my report parameters.
    Can some help me link a sub-report to a sub-report or show me how to pass a date range parameter in my hyper link so the reports just opens up?
    I'm using CR IX R2
    Thanks

    Nate,
    You are dealing with a product limitation.  Crystal cannot have nested subreports within a sub report. 
    You can generally use shared variables between sub reports to achieve your desired result

  • SSRS subreport with a sub-report as header on all pages

    Hello,
    I need some guidance on how to get a sub-report with a sub-report header and an expanding table. Please see below.
    This is the structure of things that I have:
    Main Report 1 is being invoked by ONLY Parameter 1 (User Text Box Entry).
    It Contains:
         Page 1: Sub-Report 1 invoked by Parameter 1
         Page 2 or more Pages: Sub-report 2 and a table (T1) expanding vertically based on Parameter 1 and Parameter 2. The Sub-report 2 should appear as header on all pages where T1 rows are there. Additionally, multiple Parameter 2
    values may be present and if so, they need to appear on a different page with appropriate header/table data. Parameter 1 and 2 are associated with a ONE dataset & its fields.
         Last Page: Sub-Report 3 and few text boxes below it. Invoked by Parameter 1
    The issue is I don't know how to insert Page 2 content. I tried making a new report with Sub-report 2 and the T1 below it. This is working fine but I'm not able to get the sub-report as header on all pages EXCEPT the first page. FixedData and RepeatOnNewPage
    properties are TRUE & KEEPwithGroup is set to 'AFTER'. Also, once I'm done with this report how do I insert it in the main report. Would it be in group / outside group in the group properties -- I would really appreciate if you can guide me with steps.
    Thank you,
    Nichesl
    Nichesl

    Thanks Asha ,
    Actually this is how my Report  layout is
    Group Header
    ---Detail1
    ---Detail2
    ---Detail3
    Group Footer1 (New Page After and Show at Bottom Setting)
    Group Footer 2 (New Page Before Setting)
    This is the layout of my report.
    When Details and Group Footer1 come in same page then my Group Header works perfect.
    When there are many details then the Group Footer1 skips into next page and Group Header does not show up in that page.
    Our requirement is such a way that Group Footer1 should have Group Header and Group Footer2 should always come in new page (i.e. last Page)
    I think I made it clear on my issue/requirement.
    Again I really appreciate for your reply.
    Regards
    Kalyan

  • Converting a Crystal Report with Many Sub-Reports into CF Report Builder

    I am trying to rewrite a Crystal Reports report which has 11
    subreports in CF Report Builder. In the CR report, each subreport
    has it's own report footer seciton. I have not been able to find
    anything in CF Report Builder that allows me to do the same. Is CF
    Report Builder capable of producing a report with multiple
    subreports?

    Having successfully created a report with 5 or 6 subreports
    (with each sub-report containing a multiple sub-sub reports) I can
    say with confidence, "Yes you can." However the real question you
    should ask is, "
    Should I create a report with multiple sub-reports in CF
    ReportBuilder?" And the answer to that is.... NO, WHAT ARE YOU
    CRAZY!
    If you have something that works in Crystal Reports I would
    suggest you stick with that. Otherwise you're setting yourself up
    for a lot of headaches. Now maybe it was because I started using
    the report builder that came with MX7, but it seems there are still
    quite of few bugs that will leave you shaking your fist at your
    computer. If however you do continue and do the CF Report Builder
    route, be prepared for your application to crash unexpectedly, and
    for many things to not work they way you expect them to. And if you
    ever need help good luck. Take the fact that you had difficulty
    finding good documentation as a sign of how little Adobe supports
    this product.
    CF Report Builder is fine for very simple reports, but don't
    get fancy with it, you'll only regret your decision in the
    end.

  • Copy doesn't work with embeded sub report in CR For Visual Studio 2010 SP2

    Copy feature doesn't seems to work with embeded sub report content in CR For Visual Studio 2010 SP2. I am using a winform app .net 4.0. I am not able to select the individual fields in the embeded sub report . It always select the whole sub report and it is not copying anything. Please let me know how to enable the copy feature for elements in  embeded sub report.

    I understand your description. Let me do a quick test of this later on today and get back....
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Generating sub reports with XML Datasource in Jasper Report

    Hi ,
    I have a query related to report generation using Jasper Reports. I have managed to generate main report with XML as a datasource but am unable to do so for subreport. I tried serching through Google but in vain. If by chance I've missed out any of the links, i would be grateful for that. Sample code woukd really make my life better.
    Sorry in advance if i 've posted in wrong forum.(if it hurta anyone)

    Hello there,
    I am new to JasperReports and am having a similar problem. Were you able to find out how to do this. Any help is appreciated.
    Thanks in Advance
    Regards
    Sriram

  • Visibility issue with a sub report in Report Manager

    I have a subreport in a List item. In the visibility property of the subreport, I have the following expression:
    =IIF(Fields!X.Value = "A", "True", IIF(Fields!X.Value = "B", "True", "False"))
    This is working fine for me in SSDT. If the value of field X is A or B the subreport does not display, but the subreport displays otherwise.
    However, when I upload the report to Report Manager and run it the subreport will always display, even when the value of Field X is A or B. 
    Any suggestions for what I'm doing wrong, and/or how to fix or work around?. I've inserted Field X as a textbox into the List item, alongside the subreport, to ensure that the value is in fact A or B for the subreports that are displaying when they shouldn't.

    I've tried making the change suggested by
    PrajapatiNeha and then re-uploading the RDL to Report Manager.  The visibility error is still occurring.
    Thanks for your responses. I've downloaded the RDL from Report Manager, and located the appropriate code  for the subreport. The RDL contains the following for the sub-reports visibility properties:
    <Visibility>
    <Hidden>=iif(Fields!Indicator_Group.Value = "Service Utilisation" Or Fields!Indicator_Group.Value = "GP Referred Services", True, False)</Hidden></hidden>
    </Visibility>
    I dont really have any experience with reading the XML code, but this appears to be ok?
    If i set the visibility property to Hidden, then the subreport will not display for all records. But with the expression the subreport is still always displaying.
    Thanks

  • Interactive report with detail sub-report on the same page

    Hi all,
    I'm fairly new to APEX, sorry if my question is too obvious. I'm using Apex 4.0.2 on top of Oracle 11.2.
    I have an interactive report listing the content of a table. Since there are many columns in that table I would the report to show only a few identifying columns and the complete record currently selected being displayed using another report in a separate region on the same page.
    The "Link Column" on the interactive report does almost that except that it jumps on another page; I would like to simply have a sub-report updated with the selected data instead of a new page displayed. Does anyone know how to do that?
    Thanks for your help,
    Chris

    Chris,
    this sounds like what I normally do in my referential data.
    I use the wizard to create "form with report"
    I make sure that both regions (the form and the report) will be set on the same page number
    then I check/change the order of the regions (report first, form second)
    then I set the form to display in column 2
    regards,
    Richard
    P.S. the report only shows enough columns to recognize the records. the form shows all records

  • Viewing sub reports with Crystal Viewer XI

    I am getting an error message when I try to open up a Crystal Report that has sub reports included.
    "This report contains invalid subreport linking parameters."
    Any ideas on how I can save report with sub-reports so that they can be read with Crystal Reports Viewer XI  offline?

    Hi Anders
    Are you getting the error message in Crystal Report Designer or Crystal Report Viewer?
    Would suggest you to follow the below steps in Crystal Report Designer:
    -Create a fresh report,in which insert linked sub report based off your database.
    -Create a fresh report,in which insert linked sub report based off Xtreme Sample Database.
    With this we can narrow down the issue ,whether this error occurs with this particular report or all report?
    Thanks
    Asha Lund.
    Edited by: Asha Lund on Jul 31, 2008 3:32 PM

  • Printing Page Numbers With A Sub Report

    Hi, I have a Crystal Report (XI) that includes a subreport which is identical to the main report because I am actually making the report print 2 copies of the same report with different critera in the detail section only. On the main report I have a Page Header section which I am using the special field "PAGE N of M", so on all pages of the report it is printing this page number. I  My issue is listed below:
    First page of report                    "Fred's Place"                 Page 1 of  2 (Correct)
    Second page of report              "Fred's Place"                 Page 2 of  2 (Correct)
    Third page of report                   "Fred's Place"                 Page 3 of  2 (Not Correct)
    Fourth  page of report                "Fred's Place"                 Page 4 of  2 (Not Correct)
    The first/second page are printing correctly with data being pulled from the main report, but the third/fourth pages are not printing correctly with data pulled from the sub report. My question is how to get the third/fourth pages to print as follows:
    Third page of report                   "Fred's Place"                 Page 1 of  2 (Correct)
    Fourth  page of report                "Fred's Place"                 Page 2 of  2 (Correct)
    Thanks for your help
    Jim Dyer

    Jim,
    Try passing the total page count from the main report to the subreport via a shared variable. Then set up a counter formula in the fake PH of the subreport and convert the counter and the shared variable so that it reads page 1(counter) of 2(shared variable)
    You should also be able to suppress the extra pagenofms in the main report when pagenumber > totalpagecount

  • Cross tab sub report with vertical page breaks

    Hi have a report which contains 3 sub reports - different views of similar data. The sub report is wide enough to cover two landscape pages across and they run down over two pages
    The first subreport on page one does expand across into the secon landscape page, but does not repeat the row labels, although the settings in both main & subreport cross tab are to repeat
    The secon & third sub reports which print on the escon vertical page do not expand across to display any data, so I get no page four.
    They all have exactly the same settings.
    Is there any easy way to resolve this?

    hi Julie,
    this is i believe the nature of cross-tabs inside of subreports...horizontal expansion within the subreports is not a supported feature.
    you mentioned that the data is similar but just different views...is the query that each subreport runs off of bringing in the same record set? if so, is it possible to move the cross-tabs into the main report?
    are you using crystal reports 2008? if so, does changing the page setup for the entire report to a huge size and then the pagination for each section to landscape help?
    jamie

  • With holding tax report with material and qty fields

    Dear All,
    Is there any standard report available with with holding tax data with material and qty fields.
    Thanks,
    Sekhar.

    dear Friend,
    Withholding tax will deduct on services. Hence Material and quantity is not relavent.
    There is no report is available also.
    reg
    Madhu M

  • Item(select list) with LOV and Report with link = changed value item

    Hello,
    On one page I have:
    - Item 'P_name' (select list) with LOV to select name of a person;
    - Items 'factory' and Report 'factory'(standard created with 'Form with Report' on the same page).
    Situation:
    All works fine. I selected first a LOV Item 'P_name' (say 'Jane'). But....
    Only when I select a record (to change the values) from the report 'factory' then LOV Item 'P_name' become empty. Report used a link to the same page to fill the report items 'factory' and make also the LOV item empty.
    Question:
    I have made a process that write the name 'Jane' to table.
    I see two possibilities:
    - LOV Item value => fill the LOV item with 'Jane' from the table before region. Is this possible?
    - Report => What is the buttonname of reportlink? I can use this name in the processes.
    Thanks Walter!

    1) what i meant was for you to test this ridiculously huge LOV outside of htmldb, but it occurred to me last night that you could, in fact, be hitting a limit of ours. after some poking around, i have confirmed that. select list items in htmldb are currently limited to 10,000 rows. this was initially done for performance reasons, but they're now opening up the restriction. if you really need to work with that many rows where the user is allowed to pick from a set of values, consider using a popup item type instead. it'd help your app performance as well (in my test cases, it stank to have to wait for my 10k select list rows to come down to my browser).
    2) sorry to not have been more clear about this, but when you set your item's "Source Type" back to "Database Column", you'd have to specify that column in the "Source or value expression" field. also, you can't put a sql query into that "Post Calculation Computation" field. as i said before, "you can take a look at the attribute-level help for that field to see implementation examples."
    3) stick with "Always..." for now if you're using our auto-dml process(es)
    regards,
    raj

  • 2.1.1 Problem with User Defined Reports with actions on the context menu

    I use the User Defined Reports quite a lot, and export and publish these to other members of the team as Shared Reports. I'm also quite disappointed that there seems to be no further development in this area of SQL Developer.
    One of the totally undocumented features of User Defined Reports is the ability to attach actions to a context menu, and pass data from the grid to a procedure, for example. Copying, then exporting the sessions report (from All Reports -> Data Dictionary Reports -> Database Administration -> Sessions) exposes the XML for adding actions to the context menu. The snippet for killing a session looks like this:
    <item  reload="true"  reloadparent="false" removeFromParent="false">
      <title>Kill Session</title>
      <prompt type="confirm" >     
        <label>Kill Session?</label>     
        <default><![CDATA[]]></default>     
        <value><![CDATA[]]></value>        
      </prompt>
      <sql><![CDATA[ALTER SYSTEM KILL SESSION '#SID#, #SERIAL#' IMMEDIATE]]></sql>
      <help>Kill the selected session.</help>
    </item>So to add this type of functionality to your own user defined reports, you need to export the report, edit the XML, and import it again. It seems to work fine to add this to the master reports, but if you add an <item> element to the child reports, the context menu items appear on the master report too, and they are duplicated many times. I'm not sure if the action of exporting the report adds to the number of times the context menu appears.
    Warning - if you edit a report using SQL Developer, all the <item> tags are removed. Once you've added actions to a context menu, you can only edit the report by exporting it, modifying the XML and importing it again.
    Has anyone else seen this behavior? Have you found a work-around?
    To the SQL Developer team: Are there any plans to allow the adding of user defined context menu items to reports using the GUI in the near future?

    You're right the context menu needs a GUI desperately. You can request this at the SQL Developer Exchange, so other users can vote and add weight for possible future implementation.
    Regards,
    K.

  • Back arrow does not work with SQL Server Reporting Services Reports. When one pages back from a sub report the back action appears to skip moving to the previous step. IE 8 works fine?

    I have a SSRS report that has a parameter driven drop down list to select a catagory for a report to run a summary for the category in Report Manager. When the report runs there are links to a sub report with more detailed information about the category summary. Firefox runs everything correctly up to this point.
    When I try to back arrow from the sub report Firefox skips the summary report page and reverts to the initial page where the sub category can be selected to run the summary report.
    Can you help? IE8 works well with this but has severe spped issues with reports that contain multiple selection parameters. Firefox handles the multiple parameters very fast but has the page back issue.

    I have a SSRS report that has a parameter driven drop down list to select a catagory for a report to run a summary for the category in Report Manager. When the report runs there are links to a sub report with more detailed information about the category summary. Firefox runs everything correctly up to this point.
    When I try to back arrow from the sub report Firefox skips the summary report page and reverts to the initial page where the sub category can be selected to run the summary report.
    Can you help? IE8 works well with this but has severe spped issues with reports that contain multiple selection parameters. Firefox handles the multiple parameters very fast but has the page back issue.

Maybe you are looking for

  • How can I see the url of a link before clicking on it?

    Hi. I have Firefox 10.0.2. I used to be able to see the url of a link on web pages in the bottom left of the browser. That way, if I the url didn't seem legit I wouldn't click on the link. But now, when I put the mouse over a link, nothing comes up.

  • My phone is not working after updating to ios 7

    24 hours ago i tried updating to ios 7 my screen went black and the apple picture just keeps blinking. i can not turn my phone off i can not turn it on. i let it die then i charged it and still the samething. i missed ine update before the ios 7 but

  • Install Oracle 9 - Problem with jre

    Hi, I have problems with the Oracle Installer in Suse 8.0. The installer hangs when it launchs the configurations tools setup ( near of end of installation ). The line is below. It looks like that the installer is trying to use another JRE version (

  • JPanel Positiong with Gridbag Layout Problem

    Hi, I'm desingning an UI in which I made a JFrame and set it Layout as gridBag layout. Now I have added Three JPanel in this JFrame. The problem is that All the three JPanels are shown in center While I want to palce them in top left corner. I have d

  • Fixing an 827 with cookie corruption issues

    Hi All, I know there are other threads about this issue, but I cant figure this out. We have 15 to 20 Cisco 827 routers with corrupt cookies (reading as all 0's). I know how to log into priv mode, and know about entering the cookie details. What I ca