How to add in crystal report

hi i am developing a web application , i am using crystal report plugin in eclipse europa editor .
my problem is that , there is a table which has a date colunm and i am adding all the dates together by using
sum(DateDiff("yyyy",{Birth_date},{death_date)) as a function
i am getting the data by record filter but above formula showing me only result for the last record , what happening to other records , i don't know.
so please guide me .
Thanks in advance...........                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Hi Rizwan,
You can't with the report itself because once the refresh is complete it requires a full refresh to update any page. And there is no option to for example refresh just the subreport.
RAS SDK has samples on how to add subreports, see the OverView tab for a link to the samples, but it still requires a refresh to be called.
One way may be to use Subreports on Demand, URL's to another report.... Each subreport would run individually without refreshing the main report. It would like a Table Of Contents report though.
So to be clear, adding pages is the same thing as adding more data. Problem is most of the data needs to be complete so that summaries and running totals etc. type of objects require the data to be complete to be able to render each page.
So why do you need to do this? Can you explain your workflow?
Don

Similar Messages

  • How to Call a Crystal Report from Form 6i?

    Dear All,
    Can anybody tell me how to call a crystal report, designed using Crystal Report 9, in form 6i? I tried one solution by using the host command but it was not working properly. The code I was tried is like:
         f_name varchar2(240);
         f_name :='C:\Program Files\Crystal Decisions\Crystal Reports 9\crw32.exe D:\Form16\Form16_Rep\bin\Debug\Form_16_character_emp.rpt';
                   host(f_name);
    This open the crystal report in design view. So how we call a report which run automatically like in .Net. How to pass the connection info of the database schema?
    Thanks & Regards
    Sunil

    Hi
    First see the built in run_product function.
    You can create a parameter list, add the
    "MAXIMIZE" paramter in it and then call your
    report with run_product passing your parameter list in it.
    hence the called report will be maximized.
    null

  • How to publish a Crystal Report in Business One

    Hi
    Please can anyone tell me how I publish a Crystal report (which is now inbuilt in SAP B1) so it is available to all users?  I have full administrator/manager user rights. I have so far created the report and saved it to my SAP server machine on it's C:drive.
    Thank you very much for any help and info.
    Matt

    Hi, I worked out how to do it. I had to first enable the Crystal Add on from within SAP and then open the Crystal Reports Administration menu under Administration and then select "Manage Crystal Reports". From there you can browse to the report you have created and select the module for where you want it to appear under in SAP.
    Edited by: matth76 on Jun 25, 2009 4:14 PM

  • How to create a crystal Report using C# and SQL Server

    Hi, im new in creating crystal report using SQL Server, and im making a project.. and could someone help me how to connect your .sdf (SQL Server File) from the bin to your crystal report? thanks a lot.. i followed some instructions like this one (https://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?forum=csharpgeneral)
    but i got an error on the adding of server name and database portion.. thanks a lot in advance

    Hello,
    Crystal Reports are supported on
    http://scn.sap.com/community/crystal-reports.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How to get a Crystal report as an iview in Portal

    Hi,
    Please let me know how to get a crystal report to Portal.
    Regards,
    Pradeep

    Hi,
    I used URL iview option to get the crystal report in portal and am able to view it. Thank you all for your inputs.
    But as of now SSO is not configured between BOE and BI system, so when i click on URL iview initially it asks me for credentials to BOE InfoView and after entering that it again asks for BI login as the data has to be picked from BI server.
    We are going to configure SSO mean while i just want to know whether it is possible to pass the id and passw as parameters to this url iview, if so what are the parameter id's i need to maintain to pass id and passw.
    Let me know on this.
    Regards,
    Pradeep
    Edited by: pradeep balam on Jul 29, 2011 8:34 AM

  • How to open the crystal reports 2008 in CRYSTAL REPORTS ENTERPRISE 4.0

    Hi All,
    Can you please let me know how can migrated the crystal reports from BO XI 3.1 to SAP BO 4.1 and after migrate how to open the crystal reports 2008 in CRYSTAL REPORTS ENTERPRISE 4.0.
    can you please help on this and if document please share.
    Thanks,
    Rajesh

    Use the upgrade management tool to move from 3.1 reports to BO 4.1. After migration, open the report in crystal enterprise 4.0, you will get a message saying that the report will be converted to latest version, will not be able to view from older version after converting. (Similar words- not sure exact words).

  • How to add an embedded report to custom UI?

    Dear colleagues:
    Since now I am doing investigation on this:How to add an embedded report to custom UI , so do you have some guideline doc for this?
    Requirement is:
    Customer want to add a custom report to a custom FS page. And it has some standard fields from contract. So do you have any ideas about this?
    Thanks & Best Regards,
    Qiang

    Hi Jens,
    Attachment is the guideline for how to add an embedded report to custom UI. However, so far as i know, there still a limitation that is about inport parameter.
    For example, now can show all data of accounts. but i just only want show one account data when click account. so you can share to us if you have any idea about it.
    Thanks &Best Regards,
    Qiang

  • HOW TO ADD COMMENTS IN REPORT IN WAD

    Hello
    How to add comments in report in wad...
    please reply
    thanks

    Hai Guru
    Please refer to note 1061397. Hope this helps.
    Shyam

  • How Can I call Crystal report from R3?

    Hi experts,
      How Can I call Crystal report from R3?

    Hi Bill,
    Can you please be specific and could you please provide the steps
    Thank you

  • I can't add A Crystal Report to CMC

    Hello,
    I download the Crystal Reports Server a month ago. 
    I've been adding reports for our management.  The management said they don't like this product in that it is very slow when viewing reports.  I am looking at the reports and trying to troubleshoot.  I deleted a report, worked on the stored procedure and wanted to add the report back.
    Now, when I right click on the folder, I no longer see add crystal report.  Now it only says add local document or program.
    I'm not sure what happened?!
    How do I get the CMC to be able to add Crystal Reports again?
    Thank you.
    Tony

    I knew to do that.
    When I look at the servers, I see that the crystal reports job server is disabled.  I've tried several times to enable it.
    I also tried to clone the server and then enable the clone.  It is disabled also and will NOT become enabled.
    I had already loaded service pack 3.  That did nto work either.
    I am going to uninstall and reinstall and see if that will resolve anything.
    Tony

  • How to publish non-Crystal Report files in BO XI R2?

    Development Environment:  Visual Studio 2005, C#
    I'm working on a project where I need to publish non-Crystal Report files - specifically Excel and Text files - to a specified folder in BusinessObjects XI R2.  However, I'm having a very hard time finding any samples for how to do that.  I know how to publish Crystal Report files, so I figure I'll need to instantiate a PluginManager object of the correct type, but I'm not sure how to load the file from there.
    Can anyone provide some sample code or point me in the right direction so that I can figure this one out?  Thanks!
    -Dell

    A code snippet for Text:
            txtPath = @"C:\mytext.txt";
            ceSession = (new SessionMgr()).Logon(username, password, cmsname, authtype);
            InfoStore infoStore = new InfoStore(ceSession.GetService("InfoStore"));
            int folderID = ((InfoObject) infoStore.Query("Select TOP 1 SI_ID From CI_INFOOBJECTS "
                                                         + " Where SI_KIND='Folder' "
                                                         + " And SI_NAME='" + folderName + "'")[1]).ID;
            InfoObjects txts = infoStore.NewInfoObjectCollection();
            Txt         txt  = (Txt) txts.AddEx("Txt");
            txt.Title = "Test Text";
            txt.Files.Add(txtPath);
            txt.ParentID = folderID;
            infoStore.Commit(txts);
    Ted Ueda

  • How to preview a Crystal Report in SAP ?

    Hi,
    I have an add-on for witch on the press of a button we need to preview a Crystal Report in SAP.  How do you do that ?

    Hi Marc,
    Please check below links.
    View Crystal Report from add-on | SCN
    Crystal Reports Integration For SAP Business One
    Hope this help
    Regards::::
    Atul Chakraborty

  • How do I make Crystal report viewer navigation icons display

    Visual Studio 8 accessing Crystal Reports Server 11 r2 using development web server.
    Report renders just fine in viewer but none of the viewer icons seem to find their image - all appear as X. 
    Debugging shows the src for icons is "this.src='/crystalreportviewers11/images/toolbar/(gif name)" such as "this.src='/crystalreportviewers11/images/toolbar/export_over.gif'".   I have such a directory\file in c:\program files\common files\business objects\3.0\crystalreportviewers11\images\toolbar\export_over.gif .
    perhaps related or a different problem: I get java script error when trying to print or export the rendered report: "Microsoft JScript runtime error: Object doesn't support this action" pointing to line: print = false;crystal_postback="<input type='hidden' name='__EVENTTARGET' value='myCrystalReportViewer'><input type='hidden' name='__EVENTARGUMENT' value='export'><input type='hidden' name='__LASTFOCUS' value=''><input type='hidden' name='__VIEWSTATE' etc.
    I see that java src is in the same neighborhood as the missing images: "JavaScript" src="/crystalreportviewers11/js/export.js" and using same hierarchy as above, I find this java file.
    Regarding missing images, how do I make viewer see these?  Where do I copy the images or how do I point the viewer to where they are?
    alan

    Out of the frying pan and into the fire...   I offer the following for other novices like myself and hope that experts will correct any misconceptions.
    My Crystal viewer control still does not display icons or print and now behaves badly when trying to display a report.  I would appreciate any advice.  Details follow.
    We have a Crystal Reports Server XI r 2.  I obtained the installation disks from tech support to install client tools on my development workstation.  These disks installed version 11.0.3300 .  After some research I have come to believe the following:
    Crystal Reports XI r1 = 11.0 = Managed 3.0
    Crystal Reports XI r2 = 11.5 = Managed 3.5
    Crystal Reports 2008 = 12 = Managed 4.0
    So I actually installed release one client tools.  The disks I received were the only installation disks we have, but I believe the server was updated to release 2 via web.  I could not find anywhere on web where I could download the release 2 client tools nor could I find any executable on server installation of release 2 to install the client tools to the development workstation.
    However, I also hold a license to the full blown BOE server at XI r2 release  I installed the client tools from these disks to my development workstation.  This installed version 11.5.3300 .  Based on other messages, I believe I need to get to 11.5.3700, but I am lost as to how to get this version.  The differences in versions may be the sole cause of my remaining problems, but I doubt it.
    To make sure I had no conflicts on development workstation, I removed all vestiges of Visual Studio and Crystal and then reinstalled VS2008, then Crystal designer, then Crystal Server client tools.  I also installed all service packs for these.  Tech Support tells me Crystal Reports Server has all service packs installed.  I noticed that the release one toolset installation created needed .dll's in both a program files\business objects\common folder and a program files\common\business objects folder, but the release two installation created only the former, not the latter - don't know if that matters.
    I had a Crystal viewer app at version 10.5 that worked fine for all reports except those that use the Server business view layer.  I am creating a new web version that can handle all Crystal reports including those using business view layer.  I am following the BOE SDK tutorial for creating a viewer.  I am binding to Crystal Viewer with an infoObject cast as report per one of the tutoral ways of binding. (I wonder if I need to use a different kind of binding though the tutoral indicates this should work.)
    When I was using release 1 tools with release 2 server, the report would render just fine but the navigation icons appeared as X's and the print/export buttons resulted in error of "Microsoft JScript runtime error: Object doesn't support this action".
    Per suggestions, I got everything in sync (to version 11.5.3300 which is only release two version I have available) - all references, viewer control, image handler.  I did have to change the image handler type to "CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandlerPage, to get a successful build because type CrystalImageHandler (no "page" suffix) is not defined in Crystal Decisions.Web version 11.5.3300,  I also had to add a reference to CrystalDecisions.Enterprise,PlugInManager for the constant CePictureState.cePictureThumbnail to be defined.  This reference was not necessary with version 1 toolset and not mentioned in tutoral.  Now I have the following symptoms:
    1.  When I bind to a very simple .rpt file stored in filing system of my workstation (displays a constant), the report will render in viewer but the navigation icons are still X's and print/export buttons still get JScript error message.
    2.  When I bind to this same simple report copied into Server folder using an infoObject cast as report (which used to render fine with release one client tools), I get the message: "The Page Server you are trying to connect to is not accessible. Please contact your system administrator."  This same report in Server folder runs fine using my Crystal Designer client.  I am able to display other attributes of the report object so I know I have a good report object.  So, my upgrade to 11.5.3300 has now additionally broken the report render.
    I would love to get to version 11.5.3700 and see what is still broken (I suspect there will still be some), but haven't a clue how to get this version of client tools.  Upgrading server to 2008 is not an option.  Downgrading Visual Studio to an earlier release is an option if VS2008 is contributing to the problem.  If I have to downgrade VS, what release is recommended?
    Any advice about any of these problems is welcome!
    alan

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

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

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

  • How to Retrieve a Crystal Report's Unmanaged Destination Filename

    Hi all,
    I have looked very closely at Robert Twigg's response to the post "[Destination Path and name of a scheduled Report|http://forums.sdn.sap.com/thread.jspa?messageID=9588160#9588160]" dated 9/1/10 and while it does retrieve the unmanaged destination path, the filename retrieved is the managed filename.  How does one go about retrieving an instance's unmanaged filename?
    When I look at a Crystal Report instance details, it definitely knows what the unmanaged filename that was populated, here is a sample instance detail:
    External Destination: File copy the instance with the filename: "ALOG_Deferred_Clearing_RPT_2011-12-13-11-43-09.pdf" to the folder: "/apps/efs_bobj/IMPL/XX" .
    As you can clearly see, the filename consists of report name, date, and time that was specified as "%SI_NAME%_%SI_STARTTIME%.%EXT%" in the destination filename.
    Here's the snippet to retrieve the managed filename:
    IInfoObject report = (IInfoObject) reports.get(0);
    // Get the file name from the instance.
    IFiles files = (IFiles) report.getFiles();
    IFile file = (IFile) files.get(0);
    Any insight on how to retrieve an instance's unmanaged filename would be highly appreciated.
    Thanks in advance,
    Hart Penn
    Edited by: hartpenn on Dec 14, 2011 2:14 PM
    Edited by: hartpenn on Dec 14, 2011 2:15 PM
    Edited by: hartpenn on Dec 14, 2011 2:19 PM

    Thank you for your response.  I am querying for the report instances using the query below:
    IInfoObjects iRptObjects = infoStore.query("SELECT * FROM CI_INFOOBJECTS " +
                                               "Where SI_KIND='Pdf' AND " +
                                               "SI_INSTANCE>0 ");
    Collection<IInfoObject> iRptObjs = iRptObjects;
    for (IInfoObject iRptObj : iRptObjs) {
        ISchedulingInfo iSchedInfo = iRptObj.getSchedulingInfo();
        IEvents triggerEvents = iSchedInfo.getDependants();
        if (triggerEvents.size() > 0) {
            for (int j=0; j < triggerEvents.size(); j++) {
                IInfoObjects events = (IInfoObjects)infoStore.query("SELECT * FROM CI_SYSTEMOBJECTS " +
                                                                    "Where SI_KIND='Event' AND " +
                                                                    "SI_ID=" + (Integer) triggerEvents.get(j));
                if (events.size() > 0) {
                    IEvent curEvent = (IEvent)events.get(0);
        IDestinationPlugin destPlugin =
            (IDestinationPlugin) infoStore.query("Select Top 1* from CI_SYSTEMOBJECTS " +
                                                 "Where SI_NAME = 'CrystalEnterprise.DiskUnmanaged'").get(0);
        IDestinations dests = iSchedInfo.getDestinations();
        Collection<IDestination> destObjs = dests;
        if (dests.size() > 0) {
            // we have a dest set up
            for (IDestination destObj : destObjs) {
                if (destObj.getName().compareTo("CrystalEnterprise.DiskUnmanaged") == 0) {
                    // Copy the destination properties to the destination plugin.
                    destObj.copyToPlugin(destPlugin);
                    // Get the scheduling options for the unmanaged disk.
                    IDiskUnmanagedOptions diskUnmanagedOptions =
                        (IDiskUnmanagedOptions) destPlugin.getScheduleOptions();
                    // Get the destination files
                    List destFiles = diskUnmanagedOptions.getDestinationFiles();
                    String pathName = (String)destFiles.get(0);
        IFiles iFiles = (IFiles) iRptObj.getFiles();
        IFile myFile = (IFile) iFiles.get(0);
        logger.debug("Object: " + iRptObj.getTitle() +
                     ", ID: " + iRptObj.getID() +
                     ", Kind: " + iRptObj.getKind() +
                     ", Trigger Event: " + curEvent.getEventName());
        logger.debug("Dest: " + pathName);
        logger.debug("Filename: " + myFile.getName());
    while this is not efficient, it does retrieve the instances. However, the file name returned is not what was specified in the destination filename. Here is some info returned and displayed:
    Object: ALOG_Deferred_Clearing_RPT, ID: 128776, Kind: Pdf, Trigger Event: EVT_121311_114308
    Dest: /apps/efs_bobj/IMPL/XX/%SI_NAME%_%SI_STARTTIME%.%EXT%
    FileName: ~ce46086dd492ac788.pdf
    As you can see, the filename is clearly the managed filename.
    Edited by: hartpenn on Dec 14, 2011 3:43 PM
    Edited by: hartpenn on Dec 14, 2011 4:02 PM
    Edited by: hartpenn on Dec 14, 2011 4:03 PM
    Edited by: hartpenn on Dec 14, 2011 4:17 PM
    Edited by: hartpenn on Dec 14, 2011 4:26 PM
    Edited by: hartpenn on Dec 14, 2011 4:27 PM
    Edited by: hartpenn on Dec 14, 2011 4:28 PM

Maybe you are looking for

  • Problems connecting a NAS to Time Capsule

    Hi everyone, I just purchased a Time Capsule for backing up my Mac Book Pro, and to use as my wireless router. I also have a Western Digital My Book NAS drive that I want to connect to the Time Capsule via an ethernet cable. I want to use this NAS dr

  • IPhoto doesn't work in Yosemite

    Since upgrading to 10.10 (and subsequently the new iPhoto) I haven't been able to use it because of the attached prompt I went online and downloaded and installed the upgrader but to no avail. Has anyone had this issue/found a solution? Thanks

  • How to Create a Dynamic Link Oracle 10g

    Hi all, I have a requirement like i am using the below sql query in my application select * from emp@testlink;Now i have 3 users i have created the seperate link for this three users. ex: test and work and office Now if test login to pc the above cod

  • JSP Enum warn disabling

              Is there any way of disabling the following error message when starting weblogic?           [JSPEnum] no match: 'META-INF/'           [JSPEnum] no match: 'images/'           [JSPEnum] no match: 'WEB-INF/'           [JSPEnum] no match: 'WEB-

  • Unable to update my software version on Nokia 5800

    Hello Friends, Ever found yourself in a situation where you are unable to update your software version...???  My current software version on my 5800 is v 20.0.012 and the software version date is 26-01-2009. I am unable to update it when I try to - I