Sub reports not included in CharacterSeparatedValues export

Our application allows users to export a report that includes several sub reports to any of the export formats that the .NET API exposes.  The export works in every format except CharacterSeparatedValues.  In this format the sub reports are not included in the exported file.  Are there reasons why sub reports might not be included?  It may be worth noting that the sub reports are in footer sections of the main report.
Run time Version: Crystal Reports 2008 SP3 FP3

Just to add a possible solution. E.g.; I do agree with Assavari.
It is often possible to create "a" report with no subreports that will do and look the same as a report with subreport(s). You may want to consider asking in the [SAP Crystal Reports Design|SAP Crystal Reports, version for Visual Studio; re. how to modify your existing report so that it does not have subreports.
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]

Similar Messages

  • Why are most of my keywords not included when I export images?

    Why are most of my keywords not included when I export images?
    Since starting with Lightroom 1, I've entered keywords into either of the two fields between "keyword tags" and "keyword suggestions" in the keywording panel.  I was unaware that some keywords are more equal than others, or that Lightroom offered (or has added?) hierarchy support.
    I recently stumbled into the news (to me) that Lightroom tags can be organized into a hierarchy, so I exported my keywords to a text file to examine.  I hadn't unwittingly created any hierarchies, but an astounding fraction of the keywords were within square brackets.  Sure enough, if I export an image, keywords within square brackets are omitted from the output (jpeg) file.  How nice.  Since I began with Lightroom 1, I've added nearly 1600 keywords.. Too bad most of them are coded wrong... so as not to accompany output that I create.
    1.     What was I supposed to do, as a photographer beginning to use Lightroom, to enter keywords simply but reliably:  what I type is what I get? I'd expected that's what the "just type here" interface would provide.
    I especially dislike obtaining erratic results:  most keywords are in square brackets, but a few are not.  Of course, when I use a simplified interface, I should expect not to have access to some of the options or features.  However, I shouldn't inadvertently trigger undocumented behavior.
    2.     Does the Adobe reference help system say how to enter keywords simply and reliably, in its documentation of the keywording panel? I don't find my answer under the Keywords topic, within Home / Using Photoshop Lightroom 3 / Organizing photos in the catalog.
    (I NOW realize that the instructions for the "Create/Edit keyword tags" dialog mention exporting. However, that's not the method I was using.)
    Dick Rawson

    I'm afraid that I distracted you with my background mention of hierarcharial keywords; I'm not asking about them.
    I've entered keywords for several years of using Lightroom.  Suddenly, this week, I find that most (yet not all) of them have the attribute of "don't include the keyword in an exported file's metadata."  I never intended to ask for that; I thought all keywords will stay with the file and its offspring, and that's what I wanted.
    So I'm asking:
    1.     What did I do "wrong" to induce Lightroom to give the keywords that attribute? I never intended to ask it to.
    2.     Where does Adobe document how to enter keywords reliably so that they stay with the file on output?  I can't find that Adobe does.
    > Can you be more clear about keywords in square brackets? I know when you export the keywords as a list you can get a normalized data file that uses punctuation and tabs as delimiters...
    I did export the keywords into such a list:  most keywords in the plain-text list have square brackets surrounding them, indicating keywords that will be omitted from metadata of any image that Lightroom exports.
    My concern is not that the brackets are there.  They encode the attribute of "don't include the keyword in an exported file's metadata," and recognizing that attribute concerns me.
    > ...but I've never seen keywords in image files or in the interface rendered so.
    I haven't, either.
    Dick Rawson

  • SSRS sub report not fitting exactly in the parent textbox in main report.

    Hi All,
    I have a small sub report placed in the main report. Everything is working fine except that the sub report not fitting exactly in the parent text box is bothering me and disturbing the look of it. Can any one tell me how to make the sub report fit to its
    parent properly ???
    contents of my report are as below.
    1st column - project name,2nd column - location(sub report),3rd column - client name,4th - consultants(sub
    report), 5th - registered contractors and date(sub report).
    At the end of the sub report a line is displayed indicating its end. This is what i am concerned about.

    Hello,
    If I understand correctly, you have get a mess format with subreport.
    We can adjust the subreport report body size and tablix with the same size. It will fit exactly in the parent text box. Please refer to the screenshot below:
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • On Demand sub report not printing in IE and Other Browsers

    Hi All,
    We have developed Crystal report for our web application with version 13.0 and Visual Studio 2010.
    When we run our web app in IIS report display fine in All web browser and when we print report in ActiveX mode in IE 9+ for main report it prints fine but if we print on demand sub report it not printing even a single page out of 2 or more than 2 page.
    If on demand sub report has only one page then it will print in IE 9+  browser.
    Even If we click on Export button on demand sub report easily export to pdf or any formate the issue while we print it.
    It going to hanged while we print on demand sub report with more than one page.
    Please help in this issue.
    Also  please let me know if you want more detail.

    Not sure why you created two Discussions on the same issue? (CR on demand sub report goes hang in IE)
    Locking this Discussion.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • On Demand Sub-Report not working

    Hello,
    I am using crystal reports xi-r2 I am having trouble getting an on-demand sub-report to work. After much trouble I am able to get the sub-report to work in the designer but as soon as I publish the report and access it from the CRS. It stops working. I can not get the sub-report to come up. Or it opens another window like it is going to show the sub-report but I get the original report again.
    My second question is how do I open a trouble ticket now that this has all moved to SAP?
    Thanks for your help.
    Jeff

    As this isn't working in CRS you may want to re-post this to:  BusinessObjects Enterprise Administration
    www.service.sap.com would be a good place to go to get service

  • Profit Center Report not include the Invoices entry

    Hi Expert,
    I want the report of my profit center which will show profit centre details including the dimension.
    I have run the following report but not fulfill the requirements
    1.The u201CProfit centre reportu201D in this report only u201CJEu201D is comes in report & Invoices post for the u201CProfit centre(Dimension1, Dimension2,Dimension3) u201Cis not included in that report.
    2.The u201CGeneral ledgeru201D report it will give the details of invoices but ,it is not showing the  Dim1,Dim2,Dim3 in the available column of report.
    Plese help me on this.Sap version 8.8 patch 15.

    Hi,
    You can create your own report by Crystal Report or query report.
    Thanks,
    Gordon

  • Sub Report not working in Crystal Report 2008 using JSP

    I am having developer license of Crystal Report 2008. I am able to generate report using Java JDK 1.5 , JSP,Oracle10g , deployed on WebSphere Application Server 6.1.0.29. I am not able to generate Sub reports. Can you please help us with sample code to how to call and configure subreport and please send configuration CRConfig.xml.
    The below Error is Occurred on generating report.
    On condition when we link the main report to subreport through parameter.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:741)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
                    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
                    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
                    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
                    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
                    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
                    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
                    at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(SourceFile:767)
                    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(SourceFile:324)
                    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(SourceFile:149)
                    at com.businessobjects.report.web.event.s.a(SourceFile:158)
                    at com.businessobjects.report.web.event.s.a(SourceFile:127)
                    at com.businessobjects.report.web.event.bt.a(SourceFile:47)
                    at com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)
                    at com.businessobjects.report.web.event.am.a(SourceFile:53)
                    at com.businessobjects.report.web.a.t.if(SourceFile:2104)
                    at com.businessobjects.report.web.e.a(SourceFile:300)
                    at com.businessobjects.report.web.e.a(SourceFile:202)
                    at com.businessobjects.report.web.e.a(SourceFile:135)
                    at com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)
                    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(SourceFile:342)
                    at com.ibm._jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
                    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
                    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
                    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:591)
                    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
                    at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
                    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:226)
                    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:286)
                    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3453)
                    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
                    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
                    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
                    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
                    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
                    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
                    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
                    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
                    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
                    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
                    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
                    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
                    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
                    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    Caused by: java.lang.NullPointerException
                    at oracle.jdbc.driver.OracleResultSetMetaData.<init>(OracleResultSetMetaData.java:84)
                    at oracle.jdbc.driver.ScrollableResultSet.getMetaData(ScrollableResultSet.java:1282)
                    at com.crystaldecisions.reports.common.data.JdbcCrystalResultSet.getMetaData(Unknown Source)
                    at com.businessobjects.reports.jdbinterface.common.ResultSetReader.bindToField(Unknown Source)
                    at com.crystaldecisions.reports.queryengine.ResultSetRecordReader.a(SourceFile:80)
                    at com.crystaldecisions.reports.queryengine.Rowset.a(SourceFile:1107)
                    at com.crystaldecisions.reports.queryengine.Rowset.z9(SourceFile:1025)
                    at com.crystaldecisions.reports.queryengine.Rowset.Aa(SourceFile:988)
                    at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:967)
                    at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)
                    at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)
                    at com.crystaldecisions.reports.queryengine.RowsetBase.zA(SourceFile:156)
                    at com.crystaldecisions.reports.queryengine.QueryInfo.vE(SourceFile:261)
                    at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:628)
                    at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
                    at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
                    at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
                    at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
                    at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
                    at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
                    at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
                    at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
                    at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
                    at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
                    at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.if(SourceFile:4816)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:2020)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:309)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359

    I'm not sure I understand what you mean by tabbed reporting.  Do you mean having multiple reports open at once within the Crystal Reports Designer?
    If this is the case, the viewer is designed to only have one report open at a time.

  • Sub-Reports not working.

    Hello,
    I am using crystal reports xi-r2 I am having trouble getting an on-demand sub-report to work. After much trouble I am able to get the sub-report to work in the designer but as soon as I publish the report and access it from the CRS. It stops working. I can not get the sub-report to come up. Or it opens another window like it is going to show the sub-report but I get the original report again.
    Thanks for your help.
    Jeff

    Hi Jeff,
    Can you provide a more detailed description of how the report is created?
    - Do you have groups in the report?
    - Which section is the subreport sitting in?
    - Is the subreport linked to the main report?
    - When you refer to On-Demand subreport,  do you mean you've enabled the check box for 'on-demand subreport'  or did you enter an HTTP url.  Please elaborate how you created the subreport.
    - As a test,  if you do not create an on-demand subreport and allow the subreport to display,  does it show the correct data?
    Regards,
    Wallie

  • Sub Reports Not Showing Up

    Post Author: kekaske
    CA Forum: JAVA
    We are moving from the crystal reports server to building our own so that we can integrate it with our intranet. When I run my reports in Java the sub reports are not showing up. I have 3 sub reports. The main report shows up just fine. The only change I have made is changing the datasource in the reports from ODBC to JDBC. I have changed the datasource in the sub reports as well.All the reports that don't have sub reports in them work perfect. What else should I look at or troubleshoot? Thanks, Kevin

    I am using Crystal Reports XI, not Release 2.  Sorry about that mix-up.
    I downloaded the latest sp (4) per your url and installed it.  Now the product version is 11.0.0.2495
    SP4 did not solve the problem.
    Here is my reference to the DSN in the VB code:  cnSQL.ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;Data Source=DSN-SQL"
    (This DSN and VB code have worked for years.  Nothing is different now other than the fact that I am now using a Subreport for the first time.)  When I created the DSN two years ago, I used the "SQL Server" driver found in the XP Administrative Tools (ODBC) section, and it has worked fine since then.
    I saved out one of the sub reports and it did not run initially from the VB app, but after I removed the "Change Subreport Links" to not have any links, it ran correctly in the VB app.  Then I went back to the full report (main and 3 subreports) and removed all links in the subreports.  Then I re-added the full report back into the VB app and still no data shows on the 3 subreports.  Data only shows on the main report.  I have experimented with both using and not using Subreport Links in the report and nothing I do seems to make any difference.
    In the VB code, I pass two parameters to the report. The first is the customer key that is used in the main report and three subreports to print the customer's invoice.  The second parm is a flag to print or not print special instructions on the invoice.
    I suspect the problem with not printing data on the subreports is somehow due to the subreports not connecting to the SQL database or possibly not receiving the two parms which would cause them to not select a SQL record from the Invoice table.  But here I am just guessing.
    Thank you for your continued help
    Edited by: Eric Young on Oct 7, 2008 2:28 AM
    Edited by: Eric Young on Oct 7, 2008 2:28 AM

  • TOC does not include hyperlinks in export to PDF

    I created an eBooklet in Pages, but when I export it to PDF, the TOC does not include hyperlinks to the pages. There aren't any signs of the TOC including links in the original Pages document, either.

    The iWork '09 DVD can be had at Amazon. You will need to apply the Apple IWork 9.3 updater to bring the applications to their last revision, and compatibility with Mavericks and Yosemite. The help menu in Pages ’09 v4.3 has a link to the that specific PDF user guide. The Number '09 guide is there too. The Keynote  '09 PDF User Guide is here.
    Pages v5 documents are not directly backwards compatible with Pages '09. You will need to export the content as Pages '09. Since Pages v5.5.1 is lacking nearly 100+ features that were in Pages '09, you must take care with opening Pages '09 documents in Pages v5. It will filter out content that it does not support (e.g. linked text boxes).
    Any double-click on a Pages document with both applications installed, will default to opening in Pages v5.5.1. Deliberate effort is required to open Pages '09 documents, either by the Pages '09 file chooser, or a two-finger tap (on your Air) to bring up the secondary menu that has Open with > Pages (4.3) on it.

  • Export Html in Keynote does not include hyperlinks when exported as HTML

    I created a new keynote doc, and new page
    added an simple image
    added a link > to my image using the hyperlink option
    the preview section shows the link and i am able to click the link that takes me to the domain or subdomain added.
    the problem is when i export it to html that the links does not work
    i upload the link to a server and still the link added does not work
    anyone had the same experience.
    Please advise,
    would be great to get some light shed on htis matter
    thx in advance

    Same problem - but thanks for the idea. It's curious that when I use the touch text tool to change the properties, Acrobat "knows" the correct characters. I can select the characters, change the font, change it back to the original font and all is OK. I though Acrobat used some Illustrator libraries to do the touch up, but i I open the PDF in Illustrator, the bad characters get rendered as object - not text.
    I guess it's time find a way to easily avoid the dfonts. Problem is dfonts show up as TrueType in the font selection menu. The only way I know to see for sure that it is a dfont is to look at its extension in finder.
    I'm not real keen on using dfonts - I was archiving some old InDesign files as PDFs when I ran across the problem. It's kind of a pain to have to chase the font types/conversions through so many layers. Sigh.

  • 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

  • Main/Sub Report Passing Parameter

    This is a twist on the general passing parameter question:
    1. The main report is a detail report based on a stored procedure.
    2. The sub report is also based on a stored procedure. This SP calculates the values that will be introduced into a 'table' drawn on the report canvas. The SP consists of a CTE which is a 'reduced' version of the Detail SP used in the main report - to ensure that all the same records are being retrieved between the main and sub reports. Another select, following the CTE, sums the values and makes them available to the Sub Report.
    The client has requested the availability to view records where an Activity Date falls within the last full week, the last month, this month, and YTD. The report is available both through Infoview as well as a scheduled version. The client wants to make a selection as to time period through Infoview.
    Most other users will be using a printed copy of the 'general' report.
    I thought to use the SAVED DATA in SELECTION REPORTS and use Crystal functions to handle this. The SAVED DATA and an optional parameter allowed the user (in Infoview) to change the parameters. This works fine in the main report.
    HOWEVER, the sub report needs to update the totals for the groups of properties that are aggregated in the sub report's summary Stored Procedure. Since the time range will, on changing in the Main Report, reflect different counts,  I need to be able to tell the sub report what the main report is doing.
    The Main report has an Optional Parm ({?Account Open}) which allows the selection of a data range
    The SAVED DATA selection uses the values from the parm:
    if not hasvalue({?Account Open}) then 1=1
        else if hasvalue({?Account Open}) and {?Account Open}=0 then 1=1
        else if hasvalue({?Account Open}) and {?Account Open}=1 then {Account_open_date_newest}in LastFullWeek
        else if hasvalue({?Account Open}) and {?Account Open}=2 then {Account_open_date_newest}in LastFullMonth
        else if hasvalue({?Account Open}) and {?Account Open}=3 then {Account_open_date_newest}in Yeartodate
        else if hasvalue({?Account Open}) and {?Account Open}=4 then {Account_open_date_newest}in CDateTime (CurrentDate-(DayOfWeek(CurrentDate)+1),CTime(00,00,00)) to CDateTime (CurrentDate+(7-(DayOfWeek(CurrentDate))),CTime(23,59,59))
        else 1=0;
    My problem in passing the optional param selection made by the user down to the sub report in order to update the counts.
    Any help would be gratefully appreciated! I have included a snap of the Table from tyhe subreport and a snap of the optional parm from the Main Report

    Jamie -
    Thank you for your reply. I've spent the morning working on the two directions you had provided me with.
    Cross tabs: I took one report, created a cross tab for it, and, as expected, it worked as desired. The issue I'm having is where to place it on the report canvas. If I'm correct, the only place where it can be placed is in a header or footer - the sub report is currently residing in Page Header D (there's a lot of suppression and reveals in these reports). The cross tab does not want to be placed there. It's currently living in the Report Header... further, the cross tab occupies page 1; the remainder of the report starts on page two. Not what needs to happen. The current business specification for the report is: Page 1 includes a page header which includes (through iterations a-e) logo, print date info, the sub report showing the summary a series of group headers which in effect creates an index into the various business units. By clicking on a business unit, any groups under it are exposed. By clicking on the sub group, customer data is exposed. As you go to the 'next page', the Summary sub-report is eliminated and the groups under the Business Unit are shown. All of these dynamics are based on section suppression and unhiding based on the user's interaction, which why the placement of the Summary data is important. If you have any hints on managing the cross tab and its placement, I would be eager to hear them.... (btw - the number of rows in the cross-tab can range from 0 to 12. That dynamism is not a problem with the sub report - would it be for the cross tab?)
    Parameter Passing: I took one of the reports and (1) ensured that the sub report had the exact  same parameter (called Account Open) as the Main Report. (2) ensured that the Saved Data filters in both reports were the same. (In order to do that I had to update the stored proc for the sub report to include an account date field). (3) I then went to link the two reports selecting the Account Open parameter in both the containing and the Fields to Link To list boxes (see the graphic LINK.JOG. This produced no useful result - the Summary showed ALL records- the container report properly showed the count for last full month (see SUMMARY.JPG) (4) I then tried to link a field from the sub report to the Parameter, but only 4 of the six fields from the stored proc's select were displayed. (Prior to this Select there is a CTE which collects the data with a ROW OVER.. PARTITION function):
    SELECT
    customer_business_unit_name,
    account_open_date_newest,
    sum (CASE WHEN currentrisk =1 THEN 1 Else 0 End) lowcount ,
    sum (CASE WHEN currentrisk =2  THEN 1 Else 0 End) midcount ,
    sum (CASE WHEN currentrisk =3 THEN 1 Else 0 End) highcount,
    sum (CASE WHEN currentrisk =0 THEN 1 Else 0 End) unknown
    FROM    records
    WHERE   rn = 1
    group by customer_business_unit_name,account_open_date_newest
    Only the COUNT fields show up in the Fields box (see the graphic LINKS CHECKED.JPG).
    Where have I gone wrong??
    Again, thank you for your earlier reply.

  • Crystal Reports 10 Enterprise Server Issue - Exporting Large Reports to PDF

    Weu2019re implementing a Crystal Reports 10 Server for a customer but weu2019re having an issue with exporting large reports to PDF.  The report size that starts to show this issue is roughly 300 pages with 20 records per page.  We use the default Crystal ActiveX viewer. 
    Basically what happens is that the user will launch the report in the ActiveX viewer and the large report will take a while to load, as much as 3 to 4 minutes.  The user may then wish to export to PDF.  Once they attempt it with these large reports the viewer will basically hang and possibly be processing but will then time-out after roughly 5 minutes with this error:
    u201CProxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request POST /thinqreports/THINQCrystalInterface.asp.
    Reason: Error reading from remote server
    IBM_HTTP_Server/6.1.0.9 Apache/2.0.47 (Unix) Server at lmsproxy.aurora.org Port 443u201D
    We believe this error is coming from a server on our network.  We have a proxy server between users and the Crystal Server that has a 5 minute time-out for connections.  What we want to know is:
    - Is there a way to speed up this export to PDF process?
    - Should the Crystal Viewer be keeping an http connection alive to the Crystal Report Server while its doing this export process?
    - If not, what port does Crystal Viewer use to communicate with the Crystal Report Server? 
    - Is there something we can set in Crystal to keep an http connection open? 
    - What is actually occurring during this export process? 
    Occasionally, we may get the above error when simply launching a report, not just attempting to export to PDF.  We presume that is because loading the report into the Crystal Viewer from the Crystal Report Server is taking longer than 5 min.
    Anyone have any thoughts?  Thanks.
    Scott

    Scott,
    As this is happening within Enteprise (and I am assuming the report does not time out in the Crystal Reports Designer) I would suggest posting this to the BusinessObjects Enterprise Administration
    forum.
    My limited Enterprise knowledge would be to suggest scheduling the report as PDF but I don't know if that is a viable option for you.

  • Error exporting report with sub report and parameters

    Post Author: joncombe
    CA Forum: JAVA
    I am using the JRC to export to a PDF file a report that has a sub report within it. Both the main and subreport connect to an Oracle database via an Oracle ODBC connection and both share a single parameter, RUN_ID. I need to set a value for the parameter in both reports. If I don't do that I get this error:-com.crystaldecisions.reports.exportinterface.exceptions.ExportException: Some parameters are missing valuesI have the following code to update the parameters in both reports.                     ParameterField thisParameter1           = new ParameterField ( );                   ParameterField thisParameter2           = new ParameterField ( );                   Values thisValue1                       = new Values ( );                   Values thisValue2                       = new Values ( );                   ParameterFieldDiscreteValue thisParamDV1= new ParameterFieldDiscreteValue();                   ParameterFieldDiscreteValue thisParamDV2= new ParameterFieldDiscreteValue();                   thisParameter1.setReportName("");                   thisParameter2.setReportName("DQA_GER_Adressverification.rpt");                   thisParameter1.setName("RUN_ID");                   thisParameter2.setName("RUN_ID");                   thisParameter1.setType(FieldValueType.numberField);                   thisParameter2.setType(FieldValueType.numberField);                   thisParamDV1.setValue(254);                   thisParamDV2.setValue(254);                   thisValue1.add(thisParamDV1);                   thisValue2.add(thisParamDV2);                   thisParameter1.setCurrentValues(thisValue1);                   thisParameter2.setCurrentValues(thisValue2);                   parameterFields.add(thisParameter1);                   parameterFields.add(thisParameter2);                  ReportStateInfo repStateInfo = new ReportStateInfo();                  repStateInfo.setParameterFields(parameterFields);                  reqCont.setReportStateInfo(repStateInfo);  With this code in place I have found that if I run using the JRC supplied with Crystal Reports for Eclipse I get the following error:-ERROR - QueryEngine error: verify database failed.ERROR - Disk Exporter: no output file was created by an exporterERROR - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting exportjava.lang.IllegalArgumentException        at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)        at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)        at com.crystaldecisions.reports.a.e.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.dd.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.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)ERROR - Failed to export reportcom.crystaldecisions.reports.exporters.format.page.pdf.a.a: Unexpected exception thrown        at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)        at com.crystaldecisions.reports.a.e.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.dd.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.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)Caused by: java.lang.IllegalArgumentException        at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)        ... 17 moreERROR - JRCAgent1 detected an exception: An error occured while exporting the report        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.dd.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.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)Error exporting report : report. Error is ReportSDKException: An error occured while exporting the reportAn error occured while exporting the reportcom.businessobjects.reports.sdk.d.byte(Unknown Source)com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source) With the JRC supplied with Crystal Reports XIR2 I get this error:- INFO - PdfExporter: serializing pdf document and cleaning upINFO - Disk Exporter: verifying export to destinationERROR - Disk Exporter: no output file was created by an exporterERROR - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting exportjava.lang.IllegalArgumentException        at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)        at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)        at com.crystaldecisions.reports.a.e.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.i.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.cf.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.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)INFO - Disk Exporter: finalizing export to destinationERROR - JRCAgent1 detected an exception: java.lang.NullPointerException        at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:870)        at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:811)        at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)        at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)        at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1687)        at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1653)        at com.crystaldecisions.reports.queryengine.driverImpl.o.ew(Unknown Source)        at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)        at com.crystaldecisions.reports.queryengine.ao.d4(Unknown Source)        at com.crystaldecisions.reports.queryengine.ao.f(Unknown Source)        at com.crystaldecisions.reports.queryengine.ao.dP(Unknown Source)        at com.crystaldecisions.reports.queryengine.av.if(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.if(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.do(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.try(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.for(Unknown Source)        at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.a9.if(Unknown Source)        at com.crystaldecisions.reports.dataengine.a9.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.g(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.g(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.k(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.null(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.k(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.az(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.i.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.cf.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.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)I believe the error is that the SQL query in the main report is being updated with the RUN_ID but the SQL in the sub-report is not. I am not sure why the update to set the RUN_ID in the second SQL query fails, but it seems to me the JRC is not detecting it as a missing parameter and is passing the SQL including {?RUN_ID} to Oracle, causing the JDBC driver to fail with this NullPointerException. I think this because further up in the log I see this:-INFO - Executing query: SELECT v.* FROM v_ger_main vwhere v.run_id = 254INFO - Verifying databaseINFO - Executing query: SELECT h.* FROM v_ger_av_ls_tagging hwhere h.run_id = {?RUN_ID}ERROR - QueryEngine error: verify database failed.Both connections are from the same database, but the first has the updated value (254) whilst the second query still seems to have the parameter and so fails to verify.Can someone suggest how I can fix this problem or if I have missed something that is required?Thanks.Jon.

    Post Author: Ted Ueda
    CA Forum: JAVA
    What happens if, instead of passing in parameter field values, you pass the report source object to the viewer (ReportViewerBean for stand-alone or CrystalReportViewer for web)?  The viewer should introspect the report for the parameter fields and bring up a parameter field entry dialog box.  Does such a dialog box come up?  Is only the main report parameter field queried for, or both main and subreport paramter fields?  When you enter correct values for the field, does the report display?
    Hopefully, the above should narrow down the issue.
    By the way, JRC doesn't support ODBC connections, only Java based connectivity such as JDBC, JavaBeans and XML.  If you have a report with ODBC, then it looks for a JNDI connection with the same name.
    Sincerely,
    Ted Ueda

Maybe you are looking for