Sub report linking

I have a subreport within a main report. The main report has 2 parameters, @startDate and @Enddate. What i want to do restrict the records in the sub-report based on these parameters. I have tried linking the report using these parameters and have also tried to write a formula in the record selection
Eg {fbr_sp_DMining_Assoc_Cnt_SubRep;1.filingdate} > {?Pm-fbr_sp_DMining_Assoc_Cnt;1.@startdate}and {fbr_sp_DMining_Assoc_Cnt_SubRep;1.filingdate} < {?Pm-fbr_sp_DMining_Assoc_Cnt;1.@Enddate}
But it comes up with an error saying it doesn't recognise the fields
Is there another way to do this?

This may look complicated but it works:
1.2.1. Set up the Primary Report
 In the primary report, create 2 parameter fields called startdate and
 enddate.  You do not have to show these fields in the report.
 These parameters are then shown in the report fields list as ?startdate and ?enddate.
 Then create 2 formulas called startdate and enddate.  The startdate formula should only contain the report field value {?startdate} and the enddate formula should only contain the report field value
{?enddate}.
 These Formulas are then shown in the report fields list as @startdate and @enddate.
 These formulas are required because you cannot create a subreport
 link based on a parameter field.
 You must then edit the selection criteria for the main report to include the data range.  Go to the menu options Report|Edit Selection Formula|Record and enter/include the following record selection criteria:
 {table.datefield} >=  {@startdate} and {table.datefield} <= {@enddate}
2.2. Set up the Sub Report
 Create the same 2 parameter fields and the same 2 formula fields in the subreport containing the same values.  These do not have to be on the actual report.  
Now here is the vital part
2.3. Link the Reports
 To link the reports go to the menu options Edit|Subreport Links.
 Select the formula @startdate from the available fields.  This will activate field link section at the bottom of the screen.  Remove the tick from the checkbox to deactivate this area.
 Repeat with the formula @enddate.  Then select OK to close the window.
 Now edit the sub report.  The above procedure will have created two parameter fields in the sub report,
 {?Pm-@startdate} and {?Pm-@enddate}.  These parameters represent the range value passed from the main report.
Finally ---
 You will now have to edit the record selection formula for the sub report.  
 Select Report|Edit Selection Formula|Record from the menu and change the record selection to
 read:
 {table.datefield} >=  {?Pm-@startdate} and {table.datefield} <= {?Pm-@enddate}.

Similar Messages

  • Error In ECC For Crystal Report Containing Sub-Report Link

    Hi,
    We are using Crystal Reports 2013. We extracted a Crystal Report from SAP ECC to modify it further utilizing the features of Crystal and export it back to SAP ECC.
    The updated Crystal Report has a Sub-Report link within it, while exporting it back to SAP ECC, we get the attached error message as "layout.subreport should not contain any data connections".
    However, on removing the Sub-Report link, the report can be successfully exported back to ECC and executes without any issues.
    Is there any limitation on features to be used when exporting Crystal Reports to ECC?
    Thanks & Regards,
    Mitalee

    Hi
    I am facing the same issue when I try to open Crystal report Olap Grid via .net Crystal Report Viewer.
    Getting the error message like not able to open OLAP Cube.
    Please need urgent solution
    Thanks a lot,
    Usha

  • Sub report linking definition based on result, not on parameter value

    Dear all,
    I have created a report with CR 2008 SP6. The parameters from the referring BI query are period and customer. After the user enter parameter values, the report provides then Customer and product information.
    I have add a sub report with additional information for product. I can transfer the parameter value (user input) for Customer to the sub report, but not for product, due to the fact that in the main report Product is not selected as parameter, but is a result set after the report is executed.
    Is there a way to define in the Sub report linking exactly these result values of Product as new parameter for the sub report.
    In the sub report linking definition I only see the possibility of defining the parameter as linking object, but not the report result set. See also the screenshot.
    Any idea would be great. Best regards,
    Stefanos from Munich/Germany

    Hi Stefanos,
    Where is the Subreport placed on the report?
    Do you have a prompt in the Subreport for 'product'?
    If yes, then here's open the 'Change Subreport Links' window > Move the Product field to the Pane on the right > From the drop down at the bottom left that says 'Subreport parameter field to use', choose the Product prompt.
    If you don't have a prompt for product in the Subreport, then just move the Product field to the Pane on the right > From the drop down at the bottom right that says 'Select data in Subreport based on field', choose the Product field from the drop-down.
    -Abhilash

  • Sub-report link doesn't work at run-time

    We have a main report and a sub-report linked to main-report. On clicking the sub-report link in the CR 2008 designer, sub-report page with data is rendered properly. Same doesn't work programmatically at run-time using Java SDK library (JRC). Any thoughts/suggestions?

    Hi,
    I am facing same problem. Please help.
    Thanks,
    Chanchal

  • Sub report linking question

    Post Author: Crystal Fire
    CA Forum: General
    Using Crystal Reports 8.5 -
    I have report in which the main report shows the customers orders that are ready to ship. In this main report I have a subreport in which it shows customers that are on hold for shipping. How would I go about linking the two reports so that if a customer shows on the subreport then it should not show on the main report. Or I just need to highlight the customer on the main report somehow. Thanks for any feedback on this issue.

    Post Author: matthewh
    CA Forum: General
    I did wonder about that.  Will just have to live with it. 
    Can I open a sub-report as a completely seperate report with totally different formatting as opposed to a drill-down section?  It's just that having a single row of data 5mm from the top of the page is REALLY irritating and I want to put it into the main body of the sub-rpt.

  • Reports with HTML links to "sub-reports"

    I have a main sequence that runs several sequences of tests.  I
    would like to have these tests create separate reports and then link
    them from my main sequence's report.  I have selected HTML
    reporting style.  I have figured out how to link by looking at Teststand\Examples\ModifyingReports\HTMLDiagnosticLinks. 
    The only thing left is figuring out how to create the "sub-reports"
    instead of including the information in the main report.
    Any suggestions?
    Thanks,
    Bob Young
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

    Ray,
    I would like to have the sub-reports be the same format as the main report but it is not important if it has a header like the main report has.  I think that it needs to just make a report that will print on 50 pages into something easily readable.  I have already toyed with the idea of a database, but I would still have to create a report of some sort, so if I can modify TestStand's report sequence to do it, that would be even better.
    So basically I am dynamically calling a series of selectable tests.  If each of the called tests had their own report liked in to the main test where it was called, that would be great. 
    So, I'm looking for something like this:
    Main Report: 
    UUT Report
    Station ID:
    BOBY-L
    Serial Number:
    NONE
    Date:
    Monday, December 12, 2005
    Time:
    4:16:19 PM
    Operator:
    administrator
    Number of Results:
    37
    UUT Result:
    Failed
    Failure Chain:
    Step
    Sequence
    Sequence File
    Numeric Limit Test: Receive 7 bytes
    MainSequence
    Read Test.seq
    SequenceCall
    MainSequence
    testing.seq
    Begin Sequence: MainSequence
    (C:\VSS\Test Driver Code\Tests\Initializing Driver Test\Initializing Driver Test.seq)
    SequenceCall
    Status:
    Passed
    **********************LINK TO TEST****************
    End Sequence: MainSequence
    *****************SUB-REPORT LINKED IN*****************
    Begin Sequence: MainSequence
    (C:\VSS\Test Driver Code\Tests\__TestStand - Common Components\common sequences\Read.seq)
    Read 20 bytes
    Status:
    Passed
    Read the following bytes from Address 0000 of the FLASH:
    46 00 C5 07 00 00 70 00 C3 03 00 00 9A 00 8D 04 00 00 E8 00
    End Sequence: MainSequence
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • Linking Parameters to sub report from main report.

    When we link a formula in a main report to a sub report parameter and then use the sub report parameter in a SQL Command to an Oracle database, the Crystal Report works in Crystal Reports 2008 but not in  CRFE 2.0 SP1. Please help how to do this. I'm restoring the sub report links after changing the database connection info as per Ted's advice in another thread. Please note that I can see and print the parameters being passed in the sub report. It's only that I can not use it in the SQL command.
    We get the following exception
    Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.hyperformix.athens.crystal.CrystalReportEngine.exportCrystalReport(CrystalReportEngine.java:261)
         ... 11 more
    Caused by: java.lang.NullPointerException
         at com.crystaldecisions.reports.reportdefinition.ParameterFieldDefinition.qJ(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.ParameterFieldDefinition.qL(Unknown Source)
         at com.crystaldecisions.reports.dataengine.f.hH(Unknown Source)
         at com.crystaldecisions.reports.dataengine.f.S(Unknown Source)
         at com.crystaldecisions.reports.dataengine.f.hN(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataSourceManager.int(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataSourceManager.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataSourceManager.if(Unknown Source)
         at com.crystaldecisions.reports.dataengine.y.byte(Unknown Source)
         at com.crystaldecisions.reports.dataengine.y.equals(Unknown Source)
         at com.crystaldecisions.reports.dataengine.i.if(Unknown Source)
         at com.crystaldecisions.reports.dataengine.i.do(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.<init>(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatterBase.<init>(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.<init>(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.export2.a.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    Edited by: balaji va on May 14, 2009 2:55 AM

    Hi Thomas,
    Thanks for the idea but the problem is not that simple, as I'm developing a framework for Crystal Reports 2008 for use at work for future projects. It is not developer-friendly for developers who will use the framework to have a pre-processing just to predict the values they will use for the sub-reports and feed it via the main report (we will not be even sure of the number of parameters to allot for the subreport if that was the case) when all they really needed was a single value.
    e.g. Reports on Departments in a Location (parameter) and the Officers in each Location
    Main Report will query for the Departments in a certain location and other information about it
    Sub report will query for the Officers in the department and their Information (linked to main report via department ID)
    All the developer needed to provide was the Location parameter. I can't make it hard for them so that they need to revise their templates because the new JRC can't process this template. The said template worked in JRC in Crystal Reports XI, that's why I'm thinking there should be a way (I might just have made a mistake or two in what I'm doing in the new JRC). Or is there a bug in the new JRC? I'm hoping for our SAP forum guys here (Ted or other people from SAP) to clear this up.
    Thanks a lot.
    Regards,
    Rizza
    P.S. For snippets of my code, please see JRC for Crystal Reports for Eclipse V2.0 Parameter Problems

  • Sub-reports DO NOT WORK in Crystal for Eclipse v2

    Hi,<br />
    <br />
    We have recently upgraded from Crystal JRC to CR4E 12.2.202. Our application updates the JDBC connections at runtime to supply credentials.<br />
    <br />
    Everything seems to be working except sub reports.  When using sub reports we get the error shown below.<br />
    <br />
    On reading other forum posts, the top error about PropertyResourceBundle just seems to be about trying <br/>
    to print an error message from the real exception, which is in the third stack trace below: <br/>
    <i>Error code:-2147217394 Error code name:missingParameterValueError</i><br />
    <br/>
    Any idea what has changed and how we can resolve this issue?<br />
    <br />
    Thanks for your help.<br />
    <br />
    <br />
    06-25@16:48:52 39545 [http-8280-3] ERROR com.crystaldecisions.reports.common  - Failed to load the resource 'InternalFormatterException' from the bundle java.util.PropertyResourceBundle@66afc4.
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key InternalFormatterException<br />
         at java.util.ResourceBundle.getObject(Unknown Source)
         at java.util.ResourceBundle.getString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResourcesFactory.getLocalizedMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.getLocalizedMessage(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
         at au.com.esriau.dekho.crystal.Report.export(Report.java:135)
         at au.com.esriau.dekho.crystal.CrystalService.exportReport(CrystalService.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)<br /><br />
    06-25@16:48:52 39545 [http-8280-3] ERROR com.crystaldecisions.reports.common  - Failed to load the resource 'InternalFormatterException' from the bundle java.util.PropertyResourceBundle@66afc4.
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key InternalFormatterException<br />
         at java.util.ResourceBundle.getObject(Unknown Source)
         at java.util.ResourceBundle.getString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResourcesFactory.getLocalizedMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.getLocalizedMessage(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
         at au.com.esriau.dekho.crystal.Report.export(Report.java:135)
         at au.com.esriau.dekho.crystal.CrystalService.exportReport(CrystalService.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)<br /><br />
    06-25@16:48:52 39545 [http-8280-3] ERROR au.com.esriau.dekho.crystal.CrystalService  - InternalFormatterException
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKParameterFieldException: InternalFormatterException---- Error code:-2147217394 Error code name:missingParameterValueError<br />
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
         at au.com.esriau.dekho.crystal.Report.export(Report.java:135)
         at au.com.esriau.dekho.crystal.CrystalService.exportReport(CrystalService.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
    Edited by: pjoyce on Jul 7, 2009 6:00 AM
    Edited by: pjoyce on Jul 7, 2009 8:36 AM

    We raised a support issue on this and was given a work around.
    With Crystal for Eclipse, you can no longer use "dynamically" generated sub report parameters, you must manually add the parameter to the sub report and apply a record level selection formula.
    Steps for the work around:
    1. Open the sub report and manually add a parameter field in the field explorer.  You can call it whatever you want, but make sure the data type is correct.  It should match the datatype that will be passed in by the main report.
    2. Click Report -> Selection formula -> Record
    3. Enter in a formula like this: {MYTABLE.ID} = {?subreportparam}
    4. Save and close
    5. Go back to the main report
    6. Right click the sub report -> Change sub report links
    7. Drag a report field into the fields to link list
    7. In sub report parameter field to use, select you're newly created parameter and click OK

  • Sub report in column header

    Infinite loop creating new page due to column header overflow.
    I have a sub report on the column header which works,
    Because my sub report return different records from data source, it fails and get infinite loop error message like above when I have 9 records, it works less than 9 records.
    I would like to know my sub report returns records some times more, are there any place for my subreport?
    Are there limit for sub report?
    Your help and information is great appreciated,
    Regards,
    Iccsi,

    Thanks for the message and help,
    My sub report link to a data soruce which is a stroed procedure running from MS SQL server.
    The stroed procedure returns data based on data base what data in the table.
    It looks like the sub report on the Report Builder limited by the length of the report band.
    I tried to move to column header, column footer, report footer all the same, when the sub report growth then it fails to generate the reports.
    Regards,
    Iccsi,

  • Sub reports

    Hi All,
    I have a report having a command object where I have empno and some columns. And I have another command object which also having empno.
    The 2nd command object should get some empnos from 1st command object and should display countries based on the matched empnos . So I linked both command objects empnos in links tab.
    There is no parameter for both the reports
    Due to some performance issue I am doing like this
    Created a sub report with 2nd command object . Now in sub reports links tab I am passing main reports empno to sub reports empno
    But I am getting non matching empnos data.
    Please suggest
    Here what I observed in my 1st table have data like this.
    eno               name            division
    1                  aaa                 2
    2                  bbb                 2
    3                  ccc                 2
    In my 2nd table I have data like this
    eno               country            division
    1                 India                2
    2                 Aus                  2
    By using 1st method(linking command objects in links tab). I am getting result like this.
    eno               name            division        country
    1                  aaa                 2                Ind
    2                  bbb                 2                Aus
    By using 2nd method(Sub report approach). I am getting result like this.
    eno                  name            division        country
    1                  aaa                 2                Ind
    2                  bbb                 2                Aus
    3                  ccc                 2           
    Please suggest what is happening here ?I am doing anything wrong ?

    Hi Abhilash,
    I tired to suppress the records where there is no country.
    I did like this but not getting the result.
    Took a copy of sub report and placed it in report header as my sub report is in details section.
    In the sub report created a shared var like this.
    shared stringvar s :={sample1.country};
    And now in main report created a formula @Country to get country like this.
    shared stringvar s ;
    And in details section->suppress ->x-2 I wrote like this.
    isnull({@Country})
    Please suggest what is wrong here

  • Convert Sub-Report to Crystal Command

    I'm attempting to convert a sub-report and a shared variable from the report to a Command.
    Can someone help with the conversion
    Here is the part of the Crystal SQL I can't convert
    This is within last7days >>>  (ORDER_PROC.ORDER_INST>={ts '2014-06-18 00:00:00'} AND ORDER_PROC.ORDER_INST<{ts '2014-06-25 00:00:00'})
    AND ((ORDER_PROC.RESULT_TIME IS  NULL ) OR (ORDER_PROC.RESULT_TIME>=ORDER_PROC.ORDER_INST))
    ORDER BY ORDER_PROC.ORDER_INST
    Here is the code for the shared variable
    if (not isnull({ORDER_PROC_3.FREQ_UNSCHEDULED_C}) and {ORDER_PROC_3.FREQ_UNSCHEDULED_C}=1 ) then {ORDER_PROC.ORDER_INST}
    else {ORDER_PROC.PROC_START_TIME}
    Thanks
    Steve

    hi Steve,
    you'd need to give us some info...what database are you using? Commands use syntax native to your database.
    are you trying to get the last 7 days instead of a hard coded date range?
    the following may take care of the date range and the null should you be using sql server..not sure though as i don't have the db to check against. i would suggest that you search a forum for your database for the correct syntax though.
    WHERE
    DATEDIFF(DAY,ORDER_PROC.ORDER_INST, GETDATE()) <= 7
    AND
         ISNULL(ORDER_PROC.RESULT_TIME)
         OR
         ORDER_PROC.RESULT_TIME>=ORDER_PROC.ORDER_INST
    ORDER BY
    ORDER_PROC.ORDER_INST
    also you can't use a Shared Variable directly in a command object but you can certainly pass it in via a sub-report link. what is the variable supposed to do in the command? suggest that you create a Parameter in the command object and then link the subreport from your main report to the command parameter.
    cheers,
    jamie

  • PDF Export - Group Trees When Using Sub Reports

    Hi
    I have a complex Crystal Reports 2008 report which links to various Sub Reports using a classic Master-Child relationship via the Sub Report Linking options.
    The report works fine but when I am Exporting the Master report to PDF and the Group Tree gets exported correctly for the Master but none of the Group Trees in the Child Sub Reports get exported. Unfortunately the report Preview doesn't show the Group Tree for Sub Reports either - I'm guessing that both issues are intrinsically linked.
    Does anyone have any ideas? Is this a bug or does Crystal Reports 2008 not support this?
    Regards
    A

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Crystal report(Can i link sub report and main report Compulsorily) - invalid path

    hi.
    i need small clarification.
    i am developing one Crystal report
    main report i took it from rdr1 one table...
    report is working fine..
    Sub report i took it from inv1 one table.
    i have not linked any fields from these tables.
    May be it is having links in b1..
    but in my other report both the tables.... from main report  and sub report does not have any relation.
    My Questions is..
    Can i Compulsorily link fields to main report...
    if both does not have any relation what should i do...
    i took two tables.
    main report rdr1
    sub report inv1...
    if i  run the report it is asking two parameters one is for sub report and other one for main report working find in crystal report.
    but...i want to run the report in b1.
    while importing i am getting the error (Plz have a look on below image)
    if i choose any other report it is importing  fine...
    Clearly i am mentioning i dont want to link both tables there is no links between two reports...
    in this scenario can develop  a report..
    I need your Valuable suggestions.
    here below u can find my developed sample report...
    http://www.megafileupload.com/en/file/544758/NewReport-rpt.html

    hi.
    If i try only i am getting the error..
    out side if i run i am able to run the crystal report but
    in b1 i am not able to import the report.
    you can also try my report
    from below link u can get my simple report.
    if u find any mistake what i have done plz inform me..
    http://megafileupload.com/en/file/544806/NewReport85-rpt.html

  • Binding Sub Report based on link clicked in main report in BIDS

    Is it possible to bind Sub Report based on the link clicked in main report which is the parameter for sub report in BIDS?

    Hi Thanuja534,
    If I understand correctly, you want to add a drillthough action on a report to jump into another report with a specified parameter. 
    A report can contain links to other reports. The report that opens when we click the link in the main report is known as a drillthrough report. Drillthrough reports are a type of report that we access by clicking a link in the current report. When we click
    a text box that has a drillthrough action, we open the drillthrough report. If the drillthrough report has parameters, we must pass parameter values to each report parameter.
    Besides, drillthrough reports must exist on the same report server as the main report, but they can be in different folders. We can add a drillthrough link to any item that has an Action property, such as a text box, an image, or data points on a chart.
    For more information about adding parameters to pass to a Drillthrough Report, please see:
    http://technet.microsoft.com/en-us/library/aa337477(v=sql.105).aspx
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Linking of Main and Sub Reports

    Hi,
    We have a requirement to integrate all the crystal reports (say 10 nos) into one single main report for the statutory purpose as per the client requirement. Basically client would like to view all these ten reports in single file by export them into single PDF. These sub reports are also going to work as an individual reports independently and having their own prompts. The data source for these reports is SAP BEx queries.
    Please let me know best approach for integrating these reports, since user doesnu2019t want to
    pass the values for duplicate prompts. Please note there are common prompts (BEx variables) across these sub reports.
    I have done the PoC for linking single sub report using Xtreme data base and here are my results.
    1.      Create a Blank Main reports and create a Country Prompt.
    2.      Link the sub report with main report using this Country Prompt.
    3.      Link the sub report with main report prompt and edit the sub report selection formula with the main report prompt u2013 u201C{Customer.Country} = {?Pm-?Which Country?}u201D
    4.      While refreshing the report, it will refresh the sub report based on the main report prompt value and shows corresponding data.
    5.      This approach works for single report and gives the expected results and asks only single time prompt selection.
    Challenges On the above approach while implementing using BEx Queries as a data source are:
    u2022      We need to equate the SAP BEx characteristics to this prompt:
    Ex:       = {?Pm-?Which Country?}
    That means we should have set of BEx queries which doesnu2019t have variables. At run time filters will be assign based on the main report crystal reports prompts. Again there could be some mandatory prompts and optional prompts and multi values etc.
    Will it affect the performance of the Crystal report while you apply filters at report level instead of BEx query level?
    u2022      We donu2019t want to modify the individual sub reports selection formulas and queries for linking purpose.
    Please let me know youu2019re best solution approach for the above issue.
    Thanks in Advance
    Regards
    Som

    If I understand correctly the main issue a report running as a sub report being run as a main report.
    I have a solution.
    for each of the sub reports build a new main report
    ie if you have
    sub report 1
    sub report 2
    then youhave a master report that calls them
    you would build
    Main report 1 ( which ONLY calls sub report 1)

Maybe you are looking for

  • Getting error while doing Intercompany asset transfer

    This is the first time that they are doing an intercompany asset transfer in our client. Intracompany asset transfers were done in the past. While doing an intercompany transfer, an error is popping up as given below.: Account 'Contra account: Acquis

  • Generating Deeply nested XML from a flat file

    Hi All, I am working on a MQ to IDOC scenario. I am getting a flat file as input. I need to convert it into XML( so that XI can understand it). But conversion is into a "Deeply Nested XML from a Flat File" at sender side (JMS Adapter). Any inputs on

  • How to set the "display name" of an customized property

    Hi, I've created a customzied property of KM file with KM API, and display it in KM navigation iview. It is ok, except the Column head show the technical name of the property. But what i want is some specify display name and even can support multi la

  • Error in xfce4-settings-manager When Click on Window Manager

    Hello all, I have a problem with the xfce4 environment. First, I can't see any panel by default. Second, the settings button near the shutdown button does not work. Finally and more importantly, when I call from the terminal settings from terminal, s

  • Commit doesn't work via operation binding

    hi, i try to commit changes made by selectonechoice boolean . why can't this commit invoked in backing bean not work? OperationBinding operationBinding = getBindings().getOperationBinding("Commit"); operationBinding.execute(); at the same time when i