Display User Selection Results on Cover Sheet of the Crystal Report

How do you display the result of a multi-level dynamic parameter that the user has selected on the cover sheet of the crystal report.
Or Display the Start & Ending selection results from a dynamic parameter on the cover sheet of the crystal report.

Replace the code with:
stringvar selection;
stringVar array arr1;
numberVar i;
redim preserve arr1[count({?ProductID})];
for i := 1 to count({?ProductID}) step 1 do
arr1<i> := {?ProductID};
selection:= 'ProductID is : ' & chr(39) & join(arr1,",") & chr(39);
This should hopefully fix the error, but I don't think it will solve your problem as it might keep assigning the same product id to each element of the array.
Have you tried just join({?parameter},', ') as suggested by RG?
Edited by: Sanjay Kodidine on Jul 1, 2009 10:22 AM

Similar Messages

  • Cannot display the Crystal Report from BW..very Urgent

    Hello Friends,
    We are executing the Crystal report XI report from BW 3.50 but cannot displaying andgiving the error messgae as follows....
    <b>Service cannot be Reached</b>
    <b>What has happened?
    URL http://sapprodbw.company.com:8112/sap/bw/sap/bw/ce_url call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system I12 with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:sapprodbw_I12_12-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team</b>
    I'm getting the above error could plz help me .. its very urgent task for us..
    Thanks in advance for your valuable time...
    Sreedhar G.

    Hi Dinesh,
    I started all the services and i checked the Test service of ICF its giving the same above  error and service cannot be rezched...BASIS is also workin on the same issue but getting ...
    Any help...
    Message was edited by: sreedhar Gunda

  • How Do I Display HTML Formatted Text From A Data Table In Crystal Reports?

    I'm creating reports in Crystal XI.  The information being displayed in the reports comes from data tables where the text is formatted in HTML.
    I've worked with Crystal Reports enough to know that HTML text pulled from a data table doesn't appear in Crystal the same way it does in a web browser.  Crystal Reports ignores all the tags (...unless I'm missing something...) and just displays the text.
    Someone far more Crystal savy than I (...who I don't have access to...) came up with a Formula Field workaround that tricks Crystal Reports into displaying some basic HTML tags.  Here's that workaround:
    <!--
    stringVar TableName := ;
    TableName := Replace (TableName, "<ul>","<br> <br>");
    TableName := Replace (TableName, "<li>", "<br>   &bull; ");
    TableName := Replace (TableName, "</li>", "");
    TableName := Replace (TableName, "</ul>","<br> <br>");
    TableName := Replace (TableName, "<a", "<u><font color='blue'");
    TableName := Replace (TableName, "</a>", "</font></u>");
    TableName
    -->
    QUESTION - Does any similar workaround exist so I can display an HTML Table in Crystal Reports?  If not, is there any way to display HTML formatted text from a data table in Crystal Reports as it would appear in a web browser?

    Hi Steven,
    To display html text in Crystal Reports follows these steps.
    1. Right click on the field and select Paragraph tab.
    2. Under 'Text Interpretation' select 'HTML Text' and click OK.
    I have tried using the way,but it never works.So reply me if there is any way to solve the issue

  • Display only graph in the Crystal report viewer

    Background:
    We used Crystal Reports ver10 to display various graphs in our ASP.Net 2.0 Web Application (Visual Studio 2005)
    We recently migrated our application to .NET 4.5 and Crystal Reports ver13 (Visual Studio 2012)
    Issue:
    Now, the Crystal Report Viewer control loads the graph inside an <IFRAME> which shows the whole page with the graph placed on the right bottom corner instead of just the graph image as it used to previously.
    I have checked various properties that hides the tree and the toolbar and I am unable to get rid of the whole page.
    Query:
    Is there a way to not display the page and display only the image that contains the graph? OR
    Is there a way to not render the whole <iframe> and just display the graph image inside a <div> as it used to happen before?

    Hi Ludek, thanks for your response. Please refer the screenshots below.
    1) CR ver10 - the graph <img> is simply enclosed inside a div
    2) CR ver13 - the graph <img> is enclosed inside an <iframe>'s body - you can also see the scroll bars and "white-page-background" and "grey space" which I am hoping to hide or disable
    3) We are using the same set of CRViewer properties in both cases:
    - DisplayGroupTree = False
    - DisplayToolbar = False
    - HasDrillUpButton = Flase
    - HasRefreshButton = False
    - HasToggleGroupTreeButton = Fasle
    - HasViewList = False
    - HasZoomFactorList = False
    - EnableViewState = True
    4) Here's a screenshot of of the .rpt file opened in the VS 2012:
    We only want to render the graph image on the UI and not the whole page. Is there a property setting that will help us achive this or should we define explicit CSS styles to hide those areas?
    Thank you for looking into this!
    Avrosh

  • Hiding the Selected field in the Crystal reports 2011

    Hi Experts,
              I am new to the Crystal reports. How to hide the Selected Field in the Crystal report 2011.
    Thanks,
    Kavya.C

    Hi Kavya,
    You can right click on the field, go to Format Field -> Common Tab. Select/Check the option "Suppress". Or if you want to hide/ Suppress the entire section in a Crystal Report, for e.g. Detail section, right click on Details Section and select Section expert. You can select Hide/Supress accordinly.
    That should hide the filed/Section when you run the report.
    - Kuldeep

  • Setting tray selects inside the crystal report

    I am writing a report which will have 3 possible page layouts.
    I would like to print page 1 from a specific tray while page 2 and 3 from a  differenet tray.  Is there a way to control this or set
    the paper source/ printer tray from inside the crystal report itself?  
    Thank you so much for your time on this.

    Hi
    In Crystal Reports Designer we can not select the print tray at runtime for a single report however to workaround on this, you can insert different subreports.
    Insert subreport for different chunk of data for which you want different trays. Please note inserting multiple subreports can cause a slower execution of report.
    Go to file ->print -> set the tray from Printer paper -> source
    but it depends on the type of printer is in use and on the printer driver.As its printer dependent you need to check the printer options for trays in control panel.
    Hope this helps!!
    Amit

  • Displaying user selected value during PFR() in th same page again.

    Hi,
    I have search/Results both in the same Page.
    Hence initially Results(Advance table will be empty).
    Once user provides search conditions and clicks 'Go'.I perform VO query which is associated with the Advanced Table.Hence Results get populated automatically in the table.
    I need to display one of the search condition values as the Advanced Table header.Ex :Currency chosen (USD,Euro,INR etc)
    My Issue is
    I receive input conditions in the PFR().
    Once I query the VO i assume that OAF invokes PR() for the page.
    How can I pass the Currency unit received in PFR() to PR() to programmetically edit the Header of Advanced Table.
    Thanks,
    Gowtam.

    Gowtam,
    Set the values which you want to show as header as parameters when you are in PFR handling the search Go button request. In PR make sure to set the set the text for the header bean dynamically at each execution. If you get the parameter values, set them as header text as required and in case the parameters are null i.e. when you come to page for the 1st time, put your default text or null as required.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Displaying a XSLT result in a JTextArea Using the Proper Encoding

    Hi!
    I'm trying to output the result of my xslt into a JTextArea however I can't seem to output it in its proper encoding.
    I have this code to transform my xml:
    Source source = new StreamSource(xmlFilePath);
    source.setSystemId(new File(xmlFilePath).toURL().toExternalForm());
    StreamResult result = new StreamResult(System.out);
    transformer.transform(source, result);
    And I'm using this to redirect System.out to the JTextArea:
    textAreaPrintStream = new TextAreaPrintStream(OutputTextArea, System.out);
    System.setOut(textAreaPrintStream);
    With TextAreaPrintStream as:
    package ati.xslt.transformer.gui;
    import java.io.*;
    import javax.swing.*;
    public class TextAreaPrintStream extends PrintStream {
    private JTextArea textArea;
    private final static String newline = "\n";
    public TextAreaPrintStream(JTextArea area, OutputStream out){
    super(out);
    textArea = area;
    public void println(String string) {
    textArea.append(string + newline);
    textArea.setCaretPosition(textArea.getText().length());
    public void print(String string) {
    textArea.append(string);
    textArea.setCaretPosition(textArea.getText().length());
    public void write(byte[] buf, int off, int len) {
    super.write(buf, off, len);
    textArea.append(new String(buf, off, len));
    textArea.setCaretPosition(textArea.getText().length());
    public void write(byte[] b) throws IOException {
    super.write(b);
    textArea.append(new String(b));
    textArea.setCaretPosition(textArea.getText().length());
    If I set result as file and not the System.out, my output xml is correct.
    Can someone help me with this?
    -- Jeff

    you can use AJAX for this.. google maps is using ajax for rendering their maps..

  • Can a subreport select records based on values in the main report record?

    Post Author: calvin
    CA Forum: General
    Perhaps my understanding of a subreport is incorrect as this is the first time I've used one, but it seems to me that the subreport should be able to use the values from the main report record in its (the subreport's) operations-but my subreport doesn't seem to be working that way.In my main report, I select a set of records from a 'request' table. I have a subreport in the detail section so the subreport is processed for each of the request records. That works, but I'm simply getting the same data reported multiple times. It's as if the subreport only uses the last request record rather than the current one. Stating it this way I can see that the problem might be evaluation time-it's processing the request records first, then processing the subreport, and only then printing everything. If this is correct then putting WhilePrintingRecords on the subreport should work-but the only way I know of to do that is in a formula. Can I call the subreport from a formula? Or am I totally off-track?Thanks.

    Post Author: foghat
    CA Forum: General
    Have you established a link(s) between your main report and subreport?When viewing the main report, click edit --> subreport links and link the 2 based on whatever values from the main report you want.

  • How to Display RTF data with images from SQL database in Crystal Report

    I am using Crystal report in my WPF application, I have generate Question Paper Report, in which have Question with images. Question with images are stored in SQL Server in rtf format, I want to generate Question report with RTF Text and Images in report

    Hello Sir,
    I am still Facing problem in Crystal report generation with RTF Data (Text + Images),
    I am storing Questions in SQL Server which are RTF Format, Questions have Text + Images..
    I changed field data type then also i didn't get image in Crystal report
    if i browse an image n stored that in DB then its displaying in Crystal report, but when i pasted that image in RichTextBox and saved that in DB then no data displayed in Crystal report.
    My Table Structure is
    Table Name: tblQuestions
    field :    Questions Varbinary(max)
    I tried with nvarchar(max) also but its aslo not working

  • Displaying user selection from drop down list in static text on master page

    Hello,
    I am using LC 7.0 at workk and I have hit a road block.
    I have a drop down list at the top of the form. Once the user makes a selection, I want to take that value and paste it in static text located on the master page. I can't seem to get it to work.
    Please help!!!

    Hi,
    Place the Drop Down list on form
    Place text object(s) on master page
    here is the script to display the value and/or text of drop down
    Script will be on Drop Down list events
    Calculate event to display value of DD - FormCalc
    form1.pageSet.Page1.StaticText1.rawValue = this.rawValue;
    Change event to display Text of DD - JavaScript
    form1.pageSet.Page1.StaticText2.rawValue = xfa.event.newText;
    SAVE the form as dynamic pdf.
    Hope this will help.
    Thanks,
    Raghu.

  • Hierachichal display is not coming for field in cross tab crystal report

    Hi,
    I have a dimension  "Cost center" in DSO on which Hierarchy is defined in SAP BI.
    When I developed one cross tab report on this DSO, values for Cost Center fields are displayed in flat mode and not in Hierarchical mode.
    I also set group option on this "Cost center" field  in report And in Report menu "Hierarchical Grouping option" also check box ticked for "Sort data hierarchically" and also selected Instance id field.
    how to get this?
    **Note: same problem when report is developed on Infocube.*+
    Please help me.
    Thanks,
    Dhana.

    Hi Dhana,
    I've created a similar report to show matrix WBS x RBS, and WBS are grouped hierarchically.
    My report developed in this way:
    - I've created Hierarchical group located in detail section of report. In detail section I've put the row field of cross table.
    - I've suppress all this section: group header, group footer and detail
    - I've created the cross table in Report Footer
    The report show correctly
    Regards
    Sandro

  • Graphs doesn't display on the crystal report server

    I have a graph that displays good on the developer and when saved on the server and run it from the server doesn't display the graph. Any thoughts why its not displaying?
    I also want to retrieve it from .net application using Managed RAS, is there any thing that I need to set for it display the graph output.

    I'm using the same code for all reports and it works fine....only problem is its not displaying graph reports.
    SessionMgr sessionMgr = new SessionMgr();
                EnterpriseSession enterpriseSession;
                ReportAppFactory reportAppFactory;
                ReportClientDocument reportClientDocument;
                EnterpriseService enterpriseService;
                InfoStore infoStore;
                InfoObjects infoObjects;
                InfoObject infoObject;
                // set the name of the CR server
                String crServerName = ConfigurationManager.AppSettings.Get("CRServerName");
                // set userid to logon to CR server
                String crUserID = ConfigurationManager.AppSettings.Get("CRUserID");
                //set pwd to logon to CR server
                String crPwd = ConfigurationManager.AppSettings.Get("CRPwd");
                //set userid to logon to database
                String dbUserID = ConfigurationManager.AppSettings.Get("DBUserID");
                //set pwd to logon to database
                String dbPwd = ConfigurationManager.AppSettings.Get("DBPwd");
                //pass Crystal enterprise logon credentials
                enterpriseSession = sessionMgr.Logon(crUserID, crPwd, crServerName, "secEnterprise");
                enterpriseService = enterpriseSession.GetService("InfoStore");
                infoStore = new InfoStore(enterpriseService);
                //pass the report Name to query and pass it to reportClientDocument
                infoObjects = infoStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_NAME='" + reportName + "' And SI_INSTANCE=0");
                infoObject = infoObjects[1];
                //Connecting to RAS (Report Aplication Server)
                EnterpriseService tempService = enterpriseSession.GetService("", "RASReportFactory");
                reportAppFactory = (ReportAppFactory)tempService.Interface;
                reportClientDocument = reportAppFactory.OpenDocument(infoObject.ID, 0);
                // Pass datbase logon credentials
                reportClientDocument.DatabaseController.logon(dbUserID, dbPwd);
    FileStream fs = null;
    BinaryWriter bw = null;
    rptFileName = u201CTestChartReport.pdf";
    fs = new FileStream(Server.MapPath("~/reports/" + rptFileName), FileMode.OpenOrCreate);
    bw = new BinaryWriter(fs);
    PrintOutputController rasPrintOutputController;
    CrReportExportFormatEnum rasReportExportFormat =   CrReportExportFormatEnum.crReportExportFormatPDF;
    rasPrintOutputController = reportClientDocument.PrintOutputController;
                ByteArray tempByteArray = rasPrintOutputController.Export(rasReportExportFormat, 0);
                Byte[] byteStreamOutput = tempByteArray.ByteArray;
    bw.Write(byteStreamOutput);
    String file = "reports/" + rptFileName;
    Response.Write("<scr" + "ipt>\r\n");
    Response.Write("open('" + file + "');\r\n");
    Response.Write("</scr" + "ipt>");

  • Preview results in SAP B1 differ from Crystal Report - AR Invoice

    Greetings,
    I have an AR Invoice layout which I want to show the base document number at the header which I call it Delivery Note No.
    I created a subreport for this because of the possibility of a few deliveries for 1 invoice.
    All the marketing documents have a prefix which is from the table NNM1.
    The way I linked in the subreport as the follow:
    OINV.DocEntry-->INV1.DocEntry
    INV1.BaseEntry-->ODLN.DocEntry
    ODLN.Series-->NNM1.Series
    When I preview the main report (AR Invoice) in Crystal Report, I get the correct prefix for the Delivery No. However, when I import it into SAP B1 and preview the invoice from there, it showed me the Invoice prefix instead. Why is it not showing the delivery prefix?
    Am I doing something wrong here?

    Hi,
    Basically Crystal report run with SQL statement, I would suggest to do well performance tuning on SQL query / Store Procedure.
    Structure your query in DBA manner that will make some how faster such as use ( inner join, less condition,...)..
    also if it simple query then use Command in Crystal report rather store Procedure..that make some how Faster your report.
    Thanks
    Kevin
    Edited by: Kevin Shah on May 27, 2011 4:21 PM

  • Problem in Display the Crystal report using Crystal report Viewer 2008

    Hi All,
    I have developed crystal web project with crystal report using Eclipse IDE. when I deploy this web application using Tomcat server 6.0 in Windows xp, Windows Vista.. It is working fine..
    But When I deploy it into Windows 2000 server ,  I am not able to see Last 2 columns of the report page in the Viewer.
    But When I tried to Export as Excel, I got all the datas in the Report and also when I preview the report in Eclispe IDE using crystal viewer plugin it is working fine in Windows 2000 server also..
    Thanks in Advance for your help..
    Regards,
    SathiyaMBPS

    Windows 2000 is not supported in current versions of CR. Check the platforms PDF file.

Maybe you are looking for

  • Re-installed Firefox wiht Dell and my bookmarks were lost

    I was having a problem with Adobe Reader and Dell Tech support suggested re-installing Firefox. It worked but later I noticed all my bookmarks were gone. Are they still on the computer capable of being restored?

  • Sdtaudio on Solaris 8 on Sparc - CD-ROM audio not available

    I'm runnning Solaris 8 on an UltraSparc 1. I am trying to play audio from my CD-ROM through the internal speakers. I have xmcd installed and working and it recognizes and plays CDs, but audio isn't being routed to the internal speakers. When I open s

  • Deploying a JSP BC4J Application

    Hi, I created 2 projects in Jdeveloper 902. One containing BC4J components (BC4J.jpr), the other containing BC4J JSP pages (JSP.jpr) that use an Application Module in the BC4J.jpr project. I compile and deploy JSP.jpr to a standalone OC4J container.

  • Why do auto-slideshows stop playing after a button linking to a URL is pressed?

    I have several folio overlays in a presentation I am creating that simply loop through a series of images (slideshows). In the presentation I also have a button that opens up a URL in a new window. If I do this, then return to the application, none o

  • Closed Two Separate Instances of Firefox - Open Tabs and All Groups Lost

    I had two instances of Firefox 16.0.2 open and closed both with the "X" box at the top of the window and shut down windows. When I opened Windows XP this morning I came up with only one of the two Firefox sessions with the tabs restored and lost all