Crystal Reports 11 - How to use group in footer

hello
i have a recordset of multiple branches and that is grouped by customer already. a customer  can buy goods from multiple branches so it is summery of customers with their goods. and i need the summery of branches with detail like i have attached an image
in this image it is the record of one customer with 4 goods which are from 2 branches and in footer it is summery of both branches. i'm having issue here while m showing summery of both branches.so how can i show this summary and it is not sure always that there is only 2 branches. it can be 1 or many.
i'm using Crystal Report 11

Hi Amit,
Use a subreport to show the branch wise summary. Here's a bird's eye view of what you might have to do:
1) Insert a Subreport pointing to the same table on the Group Header
2) Right-click the Subreport > Change subreport links > Move the CustomerID or any field that uniquely identifies each customer to the Pane on the right > From the dropdown at the bottom right that reads 'Select data in Subreport based on field', choose the same field. This will link the customer fields from both the datasources.
3) Inside the Subreport, create a group on the Branch Field and place all the required summary fields etc
4) Suppress unwanted sections in the Subreport > Right-click the Subreport > Format Subreport > Uncheck 'Keep Object Together'.
-Abhilash

Similar Messages

  • Unable to print crystal report over web using ActiveX Control

    Post Author: jimmyp
    CA Forum: General
    We have a problem with printing crystal report over web using ActiveX Control.  When clicking print button, it only shows a blank dialog web crystal viewer page without any error.  The page just simply hangs.  We installed the PrintControl DLL and enable all the security setting for ActiveX Control for IE.  It still does not print.  Does anyone know why?  
    Environment.
    Bundle Crystal Report v10
    Asp.net 2.0
    IE 6.0 or higher.
    Appreciate for your help.
    Jimmy

    Post Author: Ian Kulmatycki
    CA Forum: General
    A team member here found this, I haven't read it, I'm not sure if our problems are related to this, but hopefully it helps someone:
    -ian
    When Secure Sockets Layer (SSL) is enabled, using the ActiveX control to print reports from a Crystal 10 DHTML viewer results in the following error message:
    "A communication error occurred, printing will be stopped."
    How can this error message be resolved?
    Resolution
    This is a known issue with Crystal Reports 10 and Crystal Enterprise 10 viewers and has been tracked. The Track ID is ADAPT00282199.
    This error occurs due to the receiving application performing a case-sensitive check for the HTTPS request header value "ON". When a sender application sends the value as "on" in lower case, the error occurs. The update below changes the receiving application to be case-insensitive.
    Hot Fixes or Service Packs address this issue as indicated below. With the updates, this issue is resolved.
    Unless indicated otherwise, Weekly Hot Fix updates from our FTP site have only been tested with English versions of products.
    For Crystal Reports 10 and Crystal Enterprise 10, the update for this issue is included in the Crystal 10 Viewers Weekly Hot Fix (WHF). This is available in English only at the following location:
    ftp://ftp.crystaldecisions.com/outgoing/EHF/viewers10win_en.zip
    This issue is addressed in the following components (and later versions):
    PageObjectModel.dll, version 10.0.5.785, dated 8/25/2004
    ReportRenderer.dll, version 10.0.5.785, dated 8/25/2004
    WebReporting.dll, version 10.0.5.785, dated 8/25/2004

  • Hyperlink on Crystal Report: how to popup a window without menubar?

    Hyperlink on Crystal Report: how to popup a window without menubar?
    Hello Experts!
    I'm using VS2003 with Crystal Reports for VS2003.
    I need to show a popup window clicking a hyperlink text object on my crystal report.
    On the CrystalReportViewer I have set up HyperlinkTarget=_blank, and it's working fine.
    But when I click on the hyperlink and shows the popup window, how can I show the popup window without menubar, toolbar, directories, etc.
    Something like:
    window.open('../MyPage.html?id=id001" + Cad + "',null,'menubar=no,scrollbars=yes,toolbar=no,location=no,directories=no,resizable=yes,status=yes')

    Adam is correct. The closest you can get is setting the CrystalReportViewers HyperlinkTarget to _blank. It was seen as a potential security vulnerability to allow you to run scripts from a Crystal Reports. In our Enterprise product you can use a reg key called EncodeHTMLForSingleLineFieldObjects to control whether this can be turned on or off.
    Unfortunately this was never ported over to our .NET CrystalReportViewer.
    This is referenced in notes 1202803, 1219298, and 1219301.
    https://www.sdn.sap.com/irj/sdn/businessobjects-notes
    Edited by: David Hilton on Jul 16, 2008 4:17 PM

  • Crystal report from JSP using the JRC

    Hi, I am trying to call crystal report from JSP using the JRC.
    But i am getting the Error as 'Logon Failed'. my web.xml entry is
    <env-entry>
    <env-entry-name>jdbc/Test</env-entry-name>
    <env-entry-value>!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@//10.0.0.1:1521/TestDB</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    i am setting the userid and password in the code. Please see the below code for your reference. Please help me to solve the issue.
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSource" %>
    <html>
    <head>
    <title>Crystal Report with Database Logon information</title> </head>
    <body bgcolor="#ffffff">
    <%
    try
    String report = "/TEMPLATE.rpt";
    IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
    JPEReportSource reportSource = (JPEReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setReportSource(reportSource);
    viewer.setHasRefreshButton(true);
    IConnectionInfo newConnInfo = new ConnectionInfo();
    newConnInfo.setUserName("TEST");
    newConnInfo.setPassword("TEST");
    ConnectionInfos newConnInfos = new ConnectionInfos();
    newConnInfos.add(newConnInfo);
    viewer.setDatabaseLogonInfos(newConnInfos);
    viewer.setEnableLogonPrompt(false);
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    out.println("Connection Information: "+viewer.getDatabaseLogonInfos().getConnectionInfo(0).getAttributes().toString());
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),null);
    viewer.dispose();
    catch(Exception e)
    throw new JspException( e);
    %>
    </body>
    </html>

    I never really had much luck with this approach.
    Mind you I was using Crystal Reports 10, and as far as I recall it didn't allow setting/changing of database at this level.
    Things to check
    - can you create a database connection on your page with this URL/username/password?
    - what server are you using? Tomcat? WebLogic?
    I found this in your other post:
    Connection Information: {Server Name=ee6rpt, Connection String=DSN=s(ee6rpt);User ID=s(ee62test);Password=;UseDSNProperties=b(false), Database Name=, Database DLL=crdb_odbc.dll}That would indicate it is using odbc to connect to the database (crdb_odbc.dll). ODBC is a bad idea with java.
    The way I have got it to work for me (after much trial and error) was to in Crystal Reports to connect using the Oracle Driver, and specifying a tnsname - eg define REPORT_DS in tnsnames.ora.
    When running through the JRC, it looked for a JNDI datasource under that same name "REPORT_DS".
    Don't know if that will help you or not.
    Good luck,
    evnafets

  • How to use GROUP BY  in ODI

    how to use GROUP BY in ODI tool

    Hi ,
    you can combine the insert stamt with the select ....so that in the target u will get a single line .....
    SQL&gt; select * from prop_details;
    PROPERTY RELAVANTD NOTICES
    10100 25-JAN-09 30
    10100 03-JAN-09 30
    10100 02-DEC-08 20
    10100 01-DEC-08 10
    10100 31-DEC-08 20
    10101 10-JAN-09 10
    10101 20-JAN-07 15
    10101 30-DEC-08 45
    10101 20-FEB-08 35
    10101 31-JAN-09 25
    10 rows selected.
    SQL&gt; select PROPERTY,max(RELAVANTDATE),SUM(NOTICES) from PROP_DETAILS GROUP BY P
    ROPERTY;
    PROPERTY MAX(RELAV SUM(NOTICES)
    10101 31-JAN-09 130
    10100 25-JAN-09 110
    SQL&gt;

  • Crystal report in JSP using activeX viewer

    Hi,I'm trying to integrate JSP and crystal report.
    can you give me a sample code to display crystal report in JSP using activeX viewer(not pure HTML)
    I'm using crystal report 9,there are ASP sample come with CR9,but no JSP.also I don't want use Crystal Enterprise9 even I know the URL reporting may be the eaier way.

    Hi,I'm trying to integrate JSP and crystal report.
    can you give me a sample code to display crystal
    report in JSP using activeX viewer(not pure HTML)
    I'm using crystal report 9,there are ASP sample come
    with CR9,but no JSP.also I don't want use Crystal
    Enterprise9 even I know the URL reporting may be the
    eaier way.Hi, did u manage to get the ActiveX Viewer up with JSP? I'm also trying to do the same thing. If you could, pls kindly email me the basic source codes to [email protected]? Thanks

  • How to use "group" in iTunes?

    Hi...
    Need advice:
    Any ideas for how to use "Groups" under album "info" (cmd i)  
    (my iTunes is in Swedish, I am not sure what the English names are)
    This function has such a central position in "song info" but I cant understand how to use it...
    Best regards

    When I look in Edit > Preferences > General tab I find that the Libray name is still one of the old ones
    Then you are not opening a new library.
    If I rename to the library name it should be it still puts files in the wrong place.
    You should not rename the libraries.

  • How to export crystal report into disk using simple java

    hello
    i m working in the reporting part my j2ee application
    my requirement is that export this rpt file into pdf file and store into disk by writing simple java program
    if any have code this then plz provide me
    thanks & regards
    ram

    Uhm, these messages are not that related. One's a
    JNDI problem, this one's just some vague "how do I
    do" stuff.He wants to produce something in crystal reports and turn it into a PDF. So yes they are related. And yet another thread for this just sprung up.

  • Dynamic columns with grouping.... in crystal report...using java /c# api ??

    I need to create a report with dynamic columns
    for e.g/
                                           Pre   Scen 1   Scen 2   Scen 3   Scen 4   Scen 5   Scen 6      .....
    *Total                          4.5118   4.5118    4.5118   4.5118   4.5118        4.5118   4.5118     *
    *Canada                    1.7180    1.7180    1.7180   1.7180  1.4103     8.4103      8.4103     *
       BG                           1.6224    0.9641    1.0473   1.0473  6.4635     6.4635  1.6224     
       BI                              0.044     0.0827     0.3578   0.3578 0.0560     0.0560   0.0744     
      DIN                    0.0056     -0.0655     -0.0215     -0.0215     -0.0210     -0.0210     0.0056     
    *Czech Republic     1.7180     1.7180     1.7180     1.7180     18.4103     18.4103     18.4103     *
      CEE               0.0275     1.0000     0.7359     100.0000     0.0858     0.0858     0.0275     
    *Israel               1.7180     1.7180     1.7180     1.7180     18.4103     18.4103     18.4103     *
      F                    0.0077     1.0000     0.7359     100.0000     -0.0035     -0.0035     0.0077     
    *United States          1.7180     1.7180     1.7180     1.7180     18.4103     18.4103     18.4103     *
      A                    0.0144     0.1871     91.0473     0.0679     0.0544     0.0544     0.0144     
      AA                    0.0428     0.0626     0.3578     0.0675     0.1175     0.1175     0.0428     
      AB                    0.0431     0.1553     -0.0215     0.1685     0.1199     0.1199     0.0431     
    in this report....grouping will be parameterized ....and total also required at every stage...
    so how can i add the columns dynamically ?
    number of columns are not fixed...they may be 20...30....etc

    Requirement is...
    I have a table scn ... where i can make entries any time....assume they are some rules...
    I have another table called t1 ... where i need to calculate values of t1 again some specific rules are table scn.
    So for each t1 there will be one row with columns as scn entries which I select on interface.
             Original Value  --  Sc1 ......  Sc2  ...... Sc3  ......  Sc4 ......  Sc5 . . . . . .. .
    t1...................xx...... xx..........xx..........xx........ xx........ xx
    t3...... .............xx...... xx..........xx..........xx........ xx........ xx
    t4....................xx...... xx..........xx..........xx........ xx........ xx
    selection of these scn columns will be dynamic....so i cant create n number of columns in the report template and hide them as per requirement....it will not work.
    Wat is a feasible solution to create such kind of report ?
    Can we create template in C# or .net ?
    IF yes...do we have to save every time in order to render report ?
    e.g.   one report may contain 4 columns and other 10 ... so do i have to create new rpt file each in order to render the report ?
    Please if any1 have approach to create this kind of report then it will very helpful....
    Edited by: pchawan on Jul 19, 2011 11:28 PM

  • How do I install UFL for Crystal Report XI for use on BOE InfoView XI 3.1?

    I have a Crystal XI Report that uses a UFL that was created by someone else. The library works just fine on my machine but I need to put this report out in BOE InfoView XI 3.1 for users. The library is Java Class.
    I have tried to put the library onto the BOE server but the folder structure, etc. is different on the BOE server.
    Could use some help on this.
    Thanks in advance.

    I have a license for Crystal XI on my desktop and that is all.
    We have licensing for BOE Repository to store and execute Crystal Reports. When I run a published Crystal Report the view panel in InfoView displays Crystal Report 2008 logo.
    Crystal Reports with UFL work on my machine because I can follow the documentation for Crystal Java UFL's (which is the same as the note you referenced), but that documentation is useless for BOE InfoView because Crystal Reports on the BOE InfoView server is entirely different.

  • Crystal 2008 - How to use the total revenue in a formula

    Hi, Experts,
    With Crystal report 2008, I created Income Statement in the following steps:
    1. select the Journal Entries within a date range
    2. group accounts by their father accounts
    3. summarize father accounts under Revenue and Expense ( then I got Total Revenue and Total expense in my groupfoot)
    Now, I'd like to calculate the percentage of
    (Revenue or Expense under each father account) / (total revenue)
    When I directly set the formula as: Sum ({@MonthBalance}, {OACT.FatherNum})/Sum ({@MonthBalance}, {@Seg0FirstLetter})
    It gives the percentage of (Revenue or Expense under each father account)  over (the summary of their group - Revenue or Expense)
    Please help how could I use only the total revenue amount in my formula?
    Thanks!
    Lorrie
    Edited by: Lorrie Liu on Mar 27, 2009 4:59 PM

    Care to share? There might be someone one day who will bless your name.
    Cheers
    Adam

  • Upload Crystal Report to by using Internet Explorer

    Hi all visitors
    i have crystal report. and  in my report, i use group to summary the floor name.
    when i click on each floor, my report doesn't link to POS because i use text box covert the group.
    when i upload my report to crystal report server and i view it using FireFox, the report show very well and no link.
    but when i view it by using Internet Explorer,my report can link and some lines are not correct.
    Anybody know how i view the crystal report on IE well as FireFox?
    best Regards,

    Hi,
       What version of Internet Explorer(IE) are you using.
       If you are using IE 8 or newer, try switching on the Compatibility Mode.
           http://support.microsoft.com/kb/956197
    Regards,
    Ken

  • Crystal report: How to concatenate the string whilereadingrecords?

    I have description field in the database and I need to concatenate the value of the filed into one line. How to do that? I tried as below
    Stringvar strtitle="";
    whilereadingrecords;
    if Mid({OrderDtl.PartNum},1,2)="T3" Then
    strtitle & "T3- Background Music,"
    Else if Mid({OrderDtl.PartNum},1,2)="T6" then
    strtitle & "T6- Dance"
    This is not working and showing only last value instead of concatenated string. I am very new to Crystal report and i am using Crystal report 2008
    Thanks,
    Raj

    Hi Raj,
    I guess you're trying to concatenate the descriptions so that they appear on a single line, perhaps, on the report footer?
    Try this formula:
    whilereadingrecords;
    stringvar strtitle;
    strtitle := strtitle + ">" + {description_field_from_database}
    The ">" sign is to separate the records from each other; you may choose to remove this from the formula or use another separator.
    Place the above formula in the details section and suppress the section.
    Create this formula to display the result and place it in the Report Footer section:
    evaluateafter(@Name_of_the_above_formula);
    stringvar strtitle;
    Let me know how this goes!
    -Abhilash

  • Some Crystal Reports are not using the Cache Server

    Hi...we are currently running BOE XI R2 SP2.  I setup a server group with a Cache Server and a Page Server.  In the CMC, I set this cache server to keep reports cached for 15 minutes.  On the Process tab of some reports, I specifically set the report to use this new server group.  On some of the reports this works as expected.  For others, it does not appear to be since the cache folder's Date Modified date does not change.  So far the only similarity between the reports that do not use cache is that these reports have sub-reports.  Has anyone experienced this before?  If so, how did you resolve it? 
    Thanks!

    Hi Rich,
    the connectivity on the Designer an don the BusinessObjects system is identical. Is region the only characteristic being used in the report ? which connectivity did you use in Crystal Reports ?
    ingo

  • Crystal Report XI - Mulitple Columns Grouping

    Hi,
    I created a report in crystal report XI having the following structure:
    Main Report Structure
    Page Header (Report Title, Date and displayed Columns Title)
    Group Header (Group header will be displayed)
    Details - a (Records List will be populated)
    Group Footer (Sub Report which displays the Notes in tabular format)
    Page Footer (Page number will be displayed)
        I kept 'keep together' for 'Group Footer' section.
    Sub Report Structure
    Group Header (No contents will be displayed here)
    Details - a (Header)
    Details - b (Content)
    Group Footer (blank section)
        In the sub report, the Details section was set for multi columns with across and then down property. The Details section width was set such that at max 3 columns will fit. Also 'keep together' property was set for the details sections so that both header and its content will always stay together. (Assume that the sub report data will be displayed like rows of data with each row having 3 cells.)
    Both main and sub reports picks the required data from database stored procedure.
    My Problem
    As 'Group Footer' section in main report was kept 'keep together' some times more empty space was leaving at the bottom of the pages in the main report.
    So i tried to remove 'keep together' option for 'Group Footer' section in the main report. By doing this the empty space was now reducing by splitting the subreport rows in multiple pages.
    So far fine but the problem arises when the first row second cell or first row third cell data is large enough so that it can't fit at the bottom of the page in the available space. So because of this, the cells in a row are splitting between the pages.
    Either i want to display the entire row with all the 3 cells at a time or blank in the pages' available space for 'Group Footer' section in main report.
    (I don't want to split the cells in the rows. I want entire row with all the 3 cells to be displayed at once.)
    Can any one suggest me how can i fix this?
    I hope i clearly presented my problem. If not, let me know where you want more clear.
    Thanks in advance.
    Edited by: Syarnus2 on Jul 15, 2009 11:48 AM

    Hi Sanjay,
    Thanks for your advice.
    But the thing you mentioned won't solves my problem.
    If i choose your option then suppose there are 3 rows and 3 cells in each row in the sub report.
    For all the 3 rows, beside the title(for each cell) contents may also present(which i already mentioned).
    Now assume that content in each cell varies from 0 to 25 lines within in the row cell.
    So by keeping all the rows in the group together, the page is leaving with much empty space whenever the entire section (even the last line in the last row of the group) can't fit in the remaining space in the page. Which i want to avoid by splitting the rows (rows only not the cells in the rows) between the pages.
    Hope i make the point much clear...

Maybe you are looking for

  • Field BSEG-HKTID. does not exist in the screen SAPMF05A 0332

    Dear ALL, Our client is ECC 6.0 we are facing a problem while posting the park document Field BSEG-HKTID. does not exist in the screen SAPMF05A 0332    Message no. 00349 Diagnosis    The specified field does not exist on the screen. Procedure    Chec

  • New ipad help

    I just got my first iPad and it is the mini retina 64 gigs. I don't what to do with it? What can I/should I do with it? Is this a good investment? I have 7.0.4 do I need to update the software Is this the best iPad or should I take it back for a bett

  • Costing Condignment Materials

    Hi Guru´s, I am trying to cost materials with consignment inforecord,,-but without success. I have used customer  inhancement COPCP005, and function module EXIT_SAPLCK21_002 and include  ZXCKAU08, but we do not catch the change.. If we look at the wh

  • I am unable to update HBR today app from Vietnam

    I am trying to update to latest paid version of HBR Today. Please advise?

  • Help with 10g Reports Parameter form Fonts

    Hi We are trying to upgrade to 10g from 6i developer, when we try to run a report, the parameter form fonts comes out ugly.., on a Linux plat form , the fonts we have on the parameter form are Ariel 8, 10 and 12. Any idea what to do to fix these?.