Adding formula in sub report

Hi,
I am passing an product_id to subreport database table. I want to use this id in a sql like below and the result name i want to print on the report. How is this possible.
select NAME from active where id in (select a_id from prod_act where id =@product_id)
I also have the prod_name from prod_act table on the report.
Thanks in advance

Hi
Create a parameter with ID  in your  main report and In your sub report add command create a parameter and use that in your where clause like in your example.  Now go in main report and right click on sub report and click on change sub report clinks and link your main report parameter with sub report parameter.
Now it will take your main report parameter value to sub report parameter.
Tthanks,
Sastry

Similar Messages

  • Adding formula in crystal report

    Hi Experts,
    I am trying the below formula to combine the fields to consolidate the address .
    whereas, if there is any null field in the combination, i getting the blank output. how to fix this in CR2011 ?
    {OCRD.Building} +" "+ {OCRD.Block}
    Thanks in advance,
    Dwarak

    Hi got it, default value for nulls on the top of formula screen.

  • Is it possible to pass a formula value from a sub-report to a main report

    Hi there,
    Im trying to pass a formula value from a Sub-report back upto into my Main report but the value doesnt seem to be getting passed up. Ive tried it the other way around, that is, passing a value from the main report to the sub-report and that works fine.
    Below is an example of what I am trying to do but it is not working. In my sub-report Ive declared a formula variable as,
    formula name=main_subIntRatePageCount
    Shared NumberVar subIntRatePageCount := TotalPageCount;
    and in the Main report Ive declared the formula variable as,
    formula name=subIntRatePageCount
    Shared NumberVar subIntRatePageCount;
    subIntRatePageCount;
    I want the value assigned to "subIntRatePageCount" in my Sub-Report to be available to my Main report.
    The problem I am trying to solve is that the sub-report is spilling over onto two pages, and I need a way of updating the page display on the main report to reflect this. The page display is of format, "displaying page 1 of  3", but its not taking into account the extra page produced by the sub-report, so it should say "displaying page 1 of 4".

    Also thanks Raghavendra, Asha,
    I've tried adding the "whileprintingrecords" statement but that doesnt seem to make any difference.
    I notice that the subReport is being called from my the GroupFooter section of the main report, and I am trying to reference the variable in the main repot in the Page Footer section. Could it be that the variable hasnt been calculated in the Page Footer by the time I calculate it in sub-Report? I thought Crystal Reports does at least 5 passes over the report evaluating all the formulas before it prints the report?
    The problem Im trying to solve is I need to know how many pages my report will have before its completed, so that i can print the statement "displaying page 1 of X", and X is currently not being calculated correctly because the sub-report is printing onto 2 pages and not 1 so the report thinks I have 1 of X pages and not X+1.
    Regards
    Robert.

  • How to open a sub report by formula

    Hi All,
    I have a sub report in my main report that is a conformity document but only needs to be generated with the report when it is requested,
    Is there a formula/parameter you can for example
    Does this report need conformity?
    Yes (Generates subreport)
    No (doesn't generate sub report)
    I'm sure one of you Guru's will be able to help me!
    Best regards and thanks in advanced,
    Gavin

    Hi Gavin,
    Here's what you need to do:
    1) Add a Static Parameter from the Field Explorer with these values:
    Yes
    No
    2) Go to the Section Expert > Select the section that holds the Subreport > Click the formula button beside 'Suppress' and use this code:
    {?Prompt} = "No"
    -Abhilash

  • Programmatically adding sub report

    Post Author: [email protected]
    CA Forum: General
    hello friends.
    is there a way to programatically or dynamically load sub reports to the main report apart from creating on Demand sub report.
    like i habe 10 sub reports like a.rpt, b.rpt, c.rpt
    now on the basis of some logic or some programming condition , i would like to load one report at a time to the main report. or two report to main report. or all the three reports to the main report depending on various condition.
    is there a way to do it programatically.
    if yes, kindly provide some code.
    Thanks
    Manish

    Post Author: synapsevampire
    CA Forum: General
    Try posting technical information rather than "like I have 10 reports".
    Crystal versionDatabase/connectivityExample dataExpected output
    Try placing the subreports in their own sections, then use the logic (try posting details...) in the suppression for each section.
    If you don't suppress the section the subreport will fire and display.
    -k

  • AR Invoice Crystal Sub-report Editing

    Hi experts,
    please i need a help on editing AR invoice crystal report  version in SAP business one .
    i want to add some fields to the sub report named summary section.
    For this particular customer he or she wants to see the sum of the individual row VAT and the individual row Freight.
    From the summary section all i see is parameters set but no tables added and parameters set can not be edited.
    Individual Vatsum and freights total (TotalExpns) can be found under table INV6. I added that table but nothing worked.
    attached is the crystal report for customer and i want the table OINV AND INV6 to be added to the summary section. The VatSum and TotalExpns from INV6 to be made in a formula. ADD Vatsum and Totalexpns form INV6. And the value should be based on docentry from the main report.
    we dont want duplicated Total Expns. It should be just one and added to the Sum of Vat.
    Urgent Help will be much appreciated.
    Regards
    Justice

    @Nithi,
    i want ti create a parameter on the subreport that links with the parameter on the main report.
    that is the dockey@ and objectid@.
    so that the values i will pick from the added tables in the subreport will come out based on the main reports  parameters.
    Please experts i need urgent help with my question.

  • Hyperlink (Drill-Down) in a Sub-Report

    Hi,
    I have a report in which I am using on-demand sub-report.
    In the Sub-report I added a working Hyperlink to one of the columns to drill-down to transaction details.
    However when I run the report I can't drill from the Sub-report. The hyperlink inside of the Sub-report is not working.
    Is there any work around to make this to work?
    Thank you,
    Tanya.

    Hi Tanya, 
    Let's try breaking this down a little bit more granularly.  I'd like to know what the formulas in the subreport shows and what the main report shows.  It's always a possibility the subreport's formula is returning 0 and passing it properly to the main.  So this will show that. 
    1)  The formula in your subreport, just have it do: 
    WhilePrintingRecords;
    shared numberVar Nar_Count;
    Nar_Count:=Count ({Command.YTD_NARRATIVE});
    Show/Unsuppress the subreport's Report Footer so we can see the formula. 
    2)  Leave the formula in the main reports GF1 as: 
    WhilePrintingRecords;
    shared numberVar Nar_Count;
    Do you see a number in both formulas or do you see the number in the subreport but not the main report? 
    I want to see if the formula in the subreport is working and not just returning 0. 
    If the formula in the subreport works then I want to know what the formula in the main report is showing. 
    If this does work:
    1)  Change the formula in the subreport back to: 
    WhilePrintingRecords;
    shared numberVar Nar_Count;
    Nar_Count:=Count ({Command.YTD_NARRATIVE})+Count ({Command.PTD_NARRATIVE})
    2)  Leave the formula in the main report's GF1 as: 
    WhilePrintingRecords;
    shared numberVar Nar_Count;
    Again, what do you see in the subreport and the main report? 
    Good luck,
    Brian

  • Pass parameter from main report to sub report?

    Post Author: nomore
    CA Forum: General
    I have a report which is comparing turnover from present year to previous year.Im trying to make it dynamic - so i have added a parameter to the main report to allow user to enter a year, however I cannot work out how to pass this to the sub report so select records based on this. I have passed the data thruogh a fomula ok (WhilePrintingRecords; Shared NumberVar shYear;)  and that is working spot on.Now i just need to enter that number as a record select paremeter. Also if I try to perform a summary on this field (it never changes, but its just a test) - the 'Insert Summary' option is unavailable, and it doesnt show up as a formula in formula editor.  

    Post Author: V361
    CA Forum: General
    I have CR XI, you want to edit your subreport links, right click the sub, select Change subreport links, you should be able to select your field, and see your parameter listed.  Once you set up the link the sub will run based on whatever link you picked.

  • Heading in each page in a Sub Report

    Hi,
    I want to display a heading on each page in a sub report but the sub report doesnt have a page header. How can I do this.
    Thanks,
    Reena

    Reena,
    The best way is to do one simple step at a time.
    Take out the DrillDownGroup Level for now.
    Here's one possibility:
    If you have groupings on the main report, sometimes you can go
    to Section Expert / Suppress no drill down - formula box and write
    something like:
    NextIsNull(GroupName)
    ...so that when the group runs out of names, it will display the page header
    you put this formula in.
    What you're trying to do is:
    Create a Page Header in the main report that will show above your sub report.  This is a substitute for the fact that Crystal doesn't have sub report headers. How you turn it on and off is up to you.
    You put the text that you want to display in the added page header  e.g., page header b or c or ?
    The Panda

  • Pass a value from a sub report back to a main report

    This may not be possible but i though i would see if i had any options.
    I have a main report with sales data and a sub report with budget data in the footer. Neither are linked to each other as i do not have a common field.
    I was hoping to bring a value through from the sub report to the main report or vice versa for a calculation. Its just one calc to work out the percent of sales against budget. sales/budget total.
    stuck!
    Any help would be appreciated.

    Thanks for the reply but this has not worked.
    I created a formula field on the main report HEADER @myValue with:
    Whileprintingrecords;
    Shared numbervar myValue:=0;
    Then I created a formula field in the sub report @myValue with:
    Whileprintingrecords;
    Shared numbervar myValue;
    myValue:= {@Budget-Month};
    @budget-month being the field i want to pass through to the main report.
    I placed this formula in the same section as the @budget-month formula field which is in the report footer
    Then i created a formula field @AVG, added it to a new section below the current fields and used the below
    Whileprintingrecords;
    Shared numbervar myValue;
    //calculation using MyValue
    {@myValue}/{@Sales Total}
    I get an error with the @myValue part in this formula "a number or currency amount is required here"
    I did have to change the Shared number from your formula to shared numbervar as number was not accepted. Does that matter?

  • Cross-tabs in Multiple Sub-reports

    Post Author: Kiwi Jan
    CA Forum: Crystal Reports
    I have created a crystal report which contains multiple detail sections (Da-Di). Each detail section contains a subreport, which contains a cross-tab.
    I have done this because I need to create one excel spreadsheet which contains data from different types of cross tabs.
    For example, one cross tab lists accounts and totals, the second lists accounts and totals by cost centre (17 of these), and a third lists accounts and totals by product group (11 of these).
    I have lined up all the columns perfectly, and when I export to Excel (Data only), it works perfectly, and I get all the rows and columns of all the cross-tabs in one excel worksheet. Brilliant.
    However, when I print, preview or export to pdf, I only see the "real" page and do not see any virtual pages that are shown in each of the sub-reports.
    How can I print or view this from the main report and get the virtual pages as well, without stuffing up my export to excel?
    Any suggestions would be greatly appreciated.

    Hi Kim,
    What version on Crystal Reports are you using? If its CR 2008 then you can take advantage of the various gridvalue functions and the calculated member feature available.
    Here's what you need to do:
    1) In 'Preview' mode, right click the 1st col and select Calculated Member > Insert Column
    2) This will insert a col after the 1st col. To make the newly added col appear 1st, right click on the top left corner of the crosstab and go to Advanced Calculations > Calculated Member
    3) In the Properties area, set the Insert Evaluation to 'Before'
    4) Now the new col would be the 1st col in the crosstab and it's values would be 0
    5) You said you calculate the Billed Amount on some logic; you can apply the summarization logic by editing the calculation formula
    6) Right click one of the 0 values in the new col and select Calculated Member > Edit Calculation Formula. Use the formula in this manner:
    select Gridlabelat("Row",currentrowindex)
    case "Job1" : 50
    case "Job2" : 20
    Default : 0
    The function GridLabelAt() accepts 2 parameters: 1st is the name of the row. In this case it would be your database field name. Suppose your database field used as a row is called Customer.Country then the formula would be:
    Gridlabelat("Customer.Country",currentrowindex)
    You can use if-else instead of the select -case if you like, but this is where you need to apply the logic for billed amount.
    At last, you'd notice that the Header for this col is blank. Just Right click the blank header and select Calculated Member > Edit Header formula and type in "Billed".
    That's it! The grand totals for the row won't add the values from the calculated member.
    Hope you get this working.
    -Abhilash

  • How to add a sub report at the end of the main report whilst grouped

    Hi!
    I have a main report that is grouped by the Customers name and then details of transactions they did with the company.
    I need to add a letter at the end of each group for each customer (With their name displayed in the letter). I tried adding a sub report in the report footer, but it only appears once at the end of the report, rather than at the end of each group for each customer.
    How can I achieve the desired result?
    Regards
    Vik

    Vik,
    You are on the right track with the sub-report.
    1. Create your letter in a separate report.
    2. Add the Letter Report to your original report as a sub report in the group footer.
    3. Set the report links on the "Group By" field.
    This will give you a letter record for each report record with the same grouping as the main report.
    Hope this helps,
    Jason

  • Sub-report summary fields

    I have two sub-reports on a report. Each of these sub-reports have a quantity summary on them. I want to find the difference between these two summary totals.
    So let's say Sub(A) total is 200 and Sub(B) total is 25, is there a way to subtract the 25 from the 200 and bring that total to the main report?

    HI SD, 
    1.you have share the value to main report from both sub report by using formula .
    2.Sub Report Formula 
    For A Sub Report  
    shared numberVar Aqty; 
    Aqty := Sum ({Command.Qty})
    For B Sub Report  
    shared numberVar Bqty;  
    Bqty := Sum ({Command.Qty})
    3.Main Report Formula 
    Aqty  
    shared numberVar Aqty; 
    B Qty 
    shared numberVar Bqty;
    4.you can create final formula for different Aqty-Bqty
    5.you should put formula in both sub report and you should place the main report formula in below of sub report then only it will work. -Rajesh N

  • 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

  • Crystal Report Hyperlink to Sub-report or other report

    Hi,
    I would like to create a report on which the first part will show project summary page. The second part will have all project detail pages and third part with all project financial informations.
    The report should work in such a way whenever user clicks on any project at first summary page this has to jump to corresponding detail page of projects.
    I have the following question regarding design of this report.
    1. Do I need to create a saparate report as a sub report and then merge with main report in a footer section? Or is it ok to create sub-report within main report through sub-report wizard option?
    2. How can I establish hyperlink between the pages i.e. summary to detail pages?
    3. back hyperlink to first pages.
    I am expecting more information about hyperlink options within Crystal report.
    Thanks
    -Sunil Prasad

    Hi Sunil
    - For your first question: . Do I need to create a saparate report as a sub report and then merge with main report in a footer section? Or is it ok to create sub-report within main report through sub-report wizard option?
    You can create a separate report and then insert it as a subreport in the main report or create it with sub report wizard.
    Once you click on Insert -> Subreport, you can see there are two options, one is to point to an existing report and another is to create it through wizard.
    - 2. How can I establish hyperlink between the pages i.e. summary to detail pages?
    You can use the hyperlink between report objects.  Also you can apply a customized formula for this.
    Check the below SAP Notes:
    [1. 1207011 - How to create an OpenDocument link in Crystal Reports XI/XIR2 |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes]
    [2. 1212849 - How to pass a parameter value through a hyperlink from one report to another |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    For detailed information on Hyperlink Click on Crystal Reports Help Help -> Search for the keyword Hyperlink.
    You can also refer to the Crystal Reports User guide for the respective version that you are using.
    Hope this helps!!
    Regards
    Sourashree

Maybe you are looking for

  • I can't find my white balance tool in the develop mode.

    it was there months ago and I would like to use it again.  Please help.  Thanks keri

  • What are "nsurlsessiond" and "AssetCacheLocatorService"?

    Little Snitch is catching these processes trying to connect to various servers (and not Apple ones) at least once per hour. What are they? Should I just let them go?

  • Unable to open e-mail attachments in windows 8.1

    Unable to open e-mail  attachments  in Windows 8.1 Keep getting the below error message: C:users\sheila\appdata\local\ microsoft\windows\netcache\ie\8Z19RCY7\RAM96a.PDF Invalid value for registry This question was solved. View Solution.

  • New Social 1.6.32 stopped working

    Hi, I am facing the issue with the New Social 1.6.32 app: it fails to launch at all. The loading screen appears for only few seconds and then the app crashes to home screen. I tried reinstalling the app and reinstalling the entire software with no su

  • Front Panel on Audigy 2 ZS Plati

    Hi. I have a SBAudigy 2 ZS Platinum, and just a few days ago, my front panel stopped working. I made no hardware changes or driver changes, it just stopped working. None of the inputs work, the optical lights arent on, the remote won't work. In the m