Advantages & disadvantages with embedded, external use of sub reports

Hi Guys,
I have a Question on "re-import subreport when open" option, which is available for sub report and it will reimport the sub report every time when we open the main report.
With that option we can see every modification until when we open that report.
My question is, does we have any document which specifies the Advantages & disadvantages of using Embedded, external(re-import) subreports in Main reports.
And i have one more scenario, i have a subreport which is used in ten reports. In every report i am taking the same Sub report from shared location and check the option "reimport subreport when open". So when i apply any change that change will applied for all ten reports at my next schedule.
My Question is: if the Subreport executes 10 minutes and i scheduled all the 10 main reports at a time. At that time does the sub report lock for one report or it will use for all the 10 reports? Can anyone give brief explanation about this?
Regards,
Naga.

hi Naga,
the only advantage to this feature is that changes are reflected when opening your report. that's it....useful for changes when you're in dev mode. disadvantage may be slight loss of speed vs. just embedding the subeport and then manually reimporting.
the second question should probably be directed to the bi platform and not in cr design as you're scheduling.
-jamie

Similar Messages

  • Interacting with embeded flash using bot

    I am trying to understand if it would be possible for a web crawler to interact with a flash object embeded in a web site.
    For exemple would it be possible to automaticaly use this website with a bot or some other program? http://www.r2d2translator.com/
    Don't know if I have explained myself properly.

    Hi Bernd,
    This is exactly what I am trying to do and the sample you pointed out is working just fine. The only issue that I now have is it does not work when I try to the PDF forms myself. I am using Adobe LiveCycle Designer version 8.2 to create the forms.
    For some reason this.external and this.hostContainer properties are not available to me in my docReady event. Do you know if this was deprecated in version 8 or so? are there any other alternatives for this?
    Thanks
    Shreedhar

  • Sub report group tree in main report Using crystal report 12

    Hi experts,
        I have a strange requirement like, same data needs to be grouped two different ways in a same report.  Like
    Store1:
        Summary of sales on each item chart
    Store2:
        Summary of sales on each item chart
    .....it goes like this
    Department1(multiple stores)
          summary of sale on each item chart - store1
          summary of sale on each item chart - store2
         --........ it goes
    Department2
          summary of sale on each item chart - store3
    --........ it goes
       Its in single report, the first part is grouped only with store and in second part the store is under department. How to do this in same report?
        I achieved  this by creating a sub report to display the first part of data and in the main report sup report data plus the second part of data will be displayed. And its working well but now the problem is the group tree, I'm not able to see the sub report group tree in the main report.
       How to get the sub report group tree in the main report, Or is there any other better way is there so i can get both the data as well the group tree. Please help me to solve this. CryCryCry
    I'm using crystal report 2008(installed separately) with Visual Studio2008 (.Net3.5)
    Thanks in advance.

    Hi
    Thanks for the reply.
        Yea both data source are same(Datasource is SQL Stored Procedure). I cant use like that, because my client needs the group tree also. In case if there is no group tree, we can create one more group and supress it conditionaly. But here the problem is there is no way to suppress any of the group item in group tree as we can do it in the detail section.
        So please me with some different ways and also , please clarrify the following doubts
    1. Can we supress one or more items in the group tree.
    2. Can we get the sub report group tree in main report(Everything is working when i used the sub reports except the group tree). So I'm trying for different ways to do, but none is helping me
    Please help me

  • Exporting to Excel data only using sub reports in Crytal 9

    Post Author: pmstar
    CA Forum: Exporting
    I am using Crystal 9 verision.
    I have .rpt file that used 4 sub reports .In the main report I placed all the sub reports in the(detail section) row  and using the data for some caluculation in the main report to generate report fields.I placed the main report fields in next row( in detail section).However when i export the report .Its generating 5 empty rows  and 3 rows with 0. I have pretty much followed the solution from the article "c2017620" published in BO.
    Since i used the sub reports only to get some value for main report calculations .Is there any workaround for the following issue
    1.I do not want to print the subreport data when exported to excel data only.
    2.how can i get rid of the blank rows
    We have a lot of reports which has the same issue and we need to get the reports to work in Excel Data only .The reports works perfect when used in PDF format but its mandatory that we need to give the reports to the client using Data only.
    If possible, when responding with your recommendations, please include detailed steps.  It would be very helpful.Thanks in advance,
    PM

    Post Author: swat
    CA Forum: Exporting
    Hi,
    Of what i gather from ur scenario...this is what i did in one of my reports.
    I had to use two subreports and they had to occupy one cell each, in line with other fields.
    To obtain that,all the fields required in the subreport i put them into a text box.Therein restricting the fields to the txt box only...
    Then import that sub-report as it is.
    It worked for me....
    try out...
    All this only if've understood u right...

  • Printing Page Numbers With A Sub Report

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

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

  • Sub reports In Crystal reports XML as a data Source

    Hi,
    I am facing one problem related to Sub reports functionality in crystal reports as XML as a data Source. We are using CrystalReports XI for this.
    I was generated PDF's using crystal reports from ruby on rails, by using the JAVA API to produce the PDF by taking the XML,XSD,and RPT files as parameters. I  succeed in this case
    and the way we are communicating with JAVA API using  from my Ruby on Rails application by the following link.
    http://rorataspire.wordpress.com/2008/06/13/how-to-integrate-crystal-reports-with-ruby-on-rails/
    Right Now my problem is as follows.
    The problem with the sub reports generation from  crystal reports.  We had one main report file(RPT), In that we are using the Sub reports,for that sub reports need to parse the XML's and XSD's dynamically based on the report encountered on the main(RPT)file,but to send more than one XSD's and XML's dynamically  based on the  sub report, to the JAVA API from Ruby on Rails application I am not succeeded.  So as a result  PDF with the Dynamic data for Sub reports is not fulfill.
    Your help is appreciable, Thanks in advance.

    Is this a coding question or a data source format question?
    Sincerely,
    Ted Ueda

  • 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?

  • Sub reports access database multiple times

    Hello,
      I have a crystal report created with a main and 2 sub reports. The data source is a stored procedure. when ever I ran/refresh  the report it access the database 3 times(first for main report and 2 times for 2 sub reports).
      There is a big single query been executed and stored procedure returns the result. Even though the result set is same the report should not access database multiple times.
       Is there any options or properties I have to select or missing. Is there any solution to resolve this connectivity issue.
    Thanks in advance.

    Hi,
    Each report will each have their own separate connection to the database.  In your case it will create 3 connection: one for the main report and one for each of the subreports.  If you use sureports, there's no way around this. 
    Also take into account where the subreports are on the main report.  If you have them in the detail or group sections the subreports will generate a new instance each time it runs.  So you may have not 3 connections but one for each record or group in the report. 
    I've had to design similar reports and needed to do it without subreports.  I wrote a stored procedure that generated two sets of records: detail and summary.  I grouped the data on the report based on their record type (Detail or Summary).  I found this also made the report faster. 
    Good luck,
    Brian

  • Sub-report data in report

    Dear Xperts,
    Whether it is possible to use the sub-report data for calculation or formula in CR?
    For Ex:
    I'm having Doc.Num, Doc date,DocTotal etc in details and i wrote a subreport to get the tax breakups, let my sub-query gives BEDTax, ECessTax, HCess TAx.
    Now whether it's possible to use the subreport fields in formula, say DocTotal (from details) minus Total Tax(from Subreport)....
    Regards,
    Bala

    Hi,
    You can use sub report.but it would be better to write a query to fetch the required data.sub report will take more time than the query for fetching data.
    as an example see below query with sales details and tax breakup
    SELECT M.DocNum AS 'AP Inv. #', M.DocDate as 'Date', M.CardName as 'Vendor Name',M.NumAtCard as 'Bill No. & Dt.',L.ItemCode, L.Dscription,L.LineTotal as 'Amount',L.vatsum ,L.PriceBefDi as 'Rate',
    (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=-90 and DocEntry=M.DocEntry) as 'BED (Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=7 and DocEntry=M.DocEntry) as 'HSCess_New (Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=-60 and DocEntry=M.DocEntry) as 'EDCS (Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=-55 and DocEntry=M.DocEntry) as 'HECS (Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=1 and DocEntry=M.DocEntry) as ' VAT (Rs.) ',
    (SELECT Sum(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as ' CST (Rs.) ',
    (SELECT Sum(TaxSum) FROM INV4 where statype=-10 and DocEntry=M.DocEntry) as ' CVD (Rs.) ',
    (SELECT Sum(TaxSum) FROM INV4 where statype=5 and DocEntry=M.DocEntry) as ' Ser.Tax (Rs.) ',
    (SELECT Sum(TaxSum) FROM INV4 where statype=6 and DocEntry=M.DocEntry) as 'CS on Ser.Tax (Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as 'HECS_ST (Rs.)',
    (Select Sum(LineTotal) From INV3 Q Where Q.DocEntry=M.DocEntry) AS 'Freight (Rs.)',
    M.WTSum AS 'TDS (Rs.)',
    M.DocTotal as 'Total (Rs.)'
    FROM OINV M LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
    LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry
    WHERE (M.DocDate >= '%0' AND M.DocDate <= '%1')
    GROUP BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.ItemCode,L.Dscription,L.LineTotal,L.vatsum,L.PriceBefDi
    ORDER BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.LineTotal,L.vatsum,L.PriceBefDi
    do something similar.
    Thanks,
    Neetu

  • Avoid conditionally suprressed sub report to fetch data from DB.

    Do we have any option in crystal designer to avoid a suppressed subreport to fetch data from DB?
    I have two sub reports in Report Footers say 'a' and 'b'.Report footer sections have a suppression formula based on parameter input.
    Hence based on the parameter input only one sub report will get printeded.However I noticed that only one sub report is getting printed but both sub reports are fetching the data from DB.
    I have also tried putting the suppression formula in suppress formula field of Sub report using format sub report option but it did not help.
    Any idea how can we avoid a subreport that is suppressed to fetch data from DB.
    Regards

    Hi,
    Suppress can only suppress the data, it cannot stop the query attached being running from the database, One thing you can do  only if your input parameter is a DB level parameter is you can have a case statement in the where clause of your query to avoid reading the records there by increasing the performance of the query.
    Say, your parameter value 1 specifies that you want to suppress the report and in other words, you dont want to read the records from the DB.
    Select feild1, field2,....from Table1
    where 1 = case when @param = 1 then 0 else 1 end
    Hope this helps,
    Thanks
    -Azhar

  • 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

  • What are some of the advantages/disadvantage of using FC or FCoE with a storage array (EMC)? What is Cisco's recommendation and why?

                       What are some of the advantages/disadvantages of using FC or FCoE for a storage array? What does Cisco recommend?

    This is what I'm considering:
    Power:
    1050W Seasonic 80PLUS Gold Power Supply
    Motherboard:
    ASUS, Rampage IV Extreme, 2011, SATA6, True Quad SLI/XFIRE, Extreme OC Capable
    CPU:
    Intel Core i7-4960X 3.60GHz, 2133MHz DDR3, 15MB Cache, Hex Core Processor
    System Memory:
    16GB (4 x 4GB) , PC3-19200, 2400MHz (G.Skill - x79)
    Video Adapter 1:
    NVIDIA GeForce GTX 780ti 3GB GDDR5
    Video Adapter 2:
    None
    Optical 1
    16X Blu-ray Burner - 16xBD-R, 2xBD-RW/16xDVD-R, 8xDVD-RW/48xCD-R, 24xCD-RW
    Bay Accessories 1
    NZXT Aperture M Multi-media Hub
    RAID [Requires Identical Hard Drive Selections]
    RAID 0 | 2 Disk Min. Striped set, improved performance, additional storage drive highly recommended
    Hard Drive 1
    Crucial M550 1TB 2.5" SATA III 6GB/sec Solid State Drive
    Hard Drive 2
    Crucial M550 1TB 2.5" SATA III 6GB/sec Solid State Drive
    Hard Drive 3
    Crucial M550 1TB 2.5" SATA III 6GB/sec Solid State Drive
    Sound Card
    Creative Labs Sound Blaster Z PCI Express

  • Differences & advantages/disadvantages using OCFS & OMF

    Differences & advantages/disadvantages using “OCFS & OMF” against “ServiceGuard & Veritas CFS” in a RAC implementation

    >
    Differences & advantages/disadvantages using “OCFS & OMF” against “ServiceGuard & Veritas CFS” in a RAC implementationYou need to read a book on RAC for this kind of question - Julian Dyke would
    be my recommendation.
    Paul...
    When asking database related questions, please give other posters
    some clues, like OS (with version), version of Oracle being used and DDL.
    Other trivia such as CPU, RAM + Disk configuration might also be useful.
    The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks.
    Furthermore, as a courtesy to those who spend time analysing and attempting to help,
    please do not top post and do try to trim your replies!

  • What are the advantages/disadvantages of using PS/CS5 in 64bit over 32bit please?

    What are the advantages/disadvantages of using PS/CS5 in 64bit over 32bit please?

    From a practical perspective, besides the 64 bit version being a bit faster at just about everything, limitations on document size are lifted in the 64 bit version.  Essentially, how much can do is limited only by how much RAM you have installed in your system.  You can do things like have larger documents, deeper history, etc. and have it all work quickly.
    On the other hand, many 3rd party plug-ins, especially older ones, only provide 32 bit versions, which will only run in 32 bit Photoshop.
    Both 32 and 64 bit versions are installed by default.  It's important to note that most of the preferences are separate between the two, so you can have two slightly different setups that might help with specialty operations you might need.  This gets pretty subtle, but for example I keep the 32 bit version configured with only 1 cache level, so all previews of high bit depth images are always composited in high bit depth.  This aids me with some aspects of astroimage processing.  It's slower, but more accurate.  By contrast I have more cache levels configured for my 64 bit version, so that's faster for general photography work.
    -Noel

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

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

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

Maybe you are looking for