Crystal Report: Show Field only in Print-Preview

Dear Experts,
is it possible to show a field only in the print preview (when the report is generated) without printing this field?
Thanks for Help.
Jacqueline

No, it is not possible to display a report object on screen then suppress it when printing.
Fuskie
Who thinks you would have to use 2 reports or use a parameter that offers the option of formatting for view versus for print...

Similar Messages

  • BO XI R2 - "Blank "Crystal Reports Viewer" window - attempt to print report

    My company recently set up a Business Object Enterprise XI Release 2 server.  On the server are a number of crystal reports that are run interactively by users, through the user console.  The expectation is that the user will log on to the BI server, click on the report title, enter the parameters, see a preview of the report in the Crystal Report Viewer, then click the print icon on the Crystal Report Viewer toolbar.
    Our corporate standard is current Windows XP SP3, with Internet Explorer 8;  By default, users are set up to use the DHTML report viewer.  The reports were developed with the Crystal Reports XI R2 report designer, and connect to an Oracle 10g database through Oracle client.
    When users attempt to view, then print the reports, the user is able to select the report, enter the parameters, view the report data, and even page through the report preview with no issues.  However, when the user attempts to print the report by clicking the print icon on the Crystal Reports Viewer toolbar, a blank "Crystal Reports Viewer" window pops up and remains indefinitely.
    The really puzzling thing about this issue is that for about 1/3 of our users, printing will work - a print dialog will appear, allowing the user to select a printer, and when the user clicks OK, the report will print.   For the other 2/3 of our users, the blank "Crystal Reports Viewer" window pops up.
    I have added the BO XI R2 server's address to trusted sites, adopted the lowest security settings for trusted sites, and enabled all activity I could think of in IE security settings (ActiveX controls-related).  I also ran the web site in compatibilitiy mode.
    Has anyone on this forum experienced this issue, and does anyone here know how to resolve it?
    Thank you,
    Bob Gardner

    I suspect that this behavior occurs because the client computer is unable to download ActiveX controls.
    The report viewer requires the PrintControl.dll to print reports from the client computer. The PrintControl.dll downloads automatically if it has not been previously downloaded on to the client computer, provided that the user that is currently logged on is able to download ActiveX controls.
    To enable the download of ActiveX controls on the client computer, perform the following steps:
    1) Open your Internet Explorer.
    2) From the Tools menu, select Internet Options.
    3) In the Security tab, select the web content zone that corresponds to your web application.
    4) Click Custom Level.
    5) In the Security Settings dialog box, scroll down to find the ActiveX controls and plug-ins section.
    6) Select Enable or Prompt for the Download signed ActiveX controls item.
    7) The print dialog box will now appear successfully when clicking the print button in the report viewer.
    If the above does not help, try to troubleshoot this as follows:
    1) click the print button (this will cause a postback to the web page) and then cancel the print dialog. right-click in the web page and select "View Source".
    2) Search for the word "printcontrol.cab". This will show you where the application is trying to download the printcontrol from.
    Paste the URL into a browser.
    3) If you get prompted to "open or save to disk" the url is correct and there is a browser setting or possibly even a system policy preventing the download.
    4) If you get a "404 page not found" or a similar error message, investigate the URL.
    5) If the issue is on your local web server, see if it is possible to browse to the URL in IIS manager.
    - Ludek

  • Crystal Report Formula field function  on OLAP SAP BI/BW Cube

    Dear All
    We create OLAP Cube Report in  Crystal Report 2008 (BO)  base  SAP ( DB2)  BI/BW  Cube, Grid report coming correctly.  Crystal Report Formula Field  functionalities are not avilabel or suporting.  If any one explain or some kind of documentation available pl.  help me.
    Thanks,   in advance.
    Alfred.M

    Hi,
    you are using the OLAP Grid which will only have limited functionality. You can use the BW MDX Driver and then connect to a BEx query and you will have the complete functionality in CR
    Ingo

  • CRYSTAL Report showing emty

    Dear all,
    Crystal Report showing blank report for one invoice.but it's showing report other invoices.i write query like this.
    SELECT Distinct T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[Address],T0.[Address2],  T0.[NumAtCard],T0.[ShipToCode], T0.[DocTotal], T0.[U_CST],T0.[U_STIN1], T0.[U_Fright], T0.[U_TPNAME], T0.[U_TNO], T0.[U_DNAME], T0.[U_Warranty],T0.[U_PONum] ,T0.[U_TINNo],T0.[VatSum],T0.[CntctCode],T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[Price], T1.[TaxCode], T2.[PymntGroup], T3.[TaxId5], T3.[TaxId11], t0.[U_AmntinWrds],T1.[DiscPrcnt],t1.[linetotal],T0.[U_VAT],T0.[RoundDif],T0.[TotalExpns],T0.[U_Vat4],T0.[DocNum], T0.[U_VAT5], T0.[U_TCS1], T0.[U_CST1], T0.[U_VAT], T0.[U_Vat4], T0.[U_VAT5], T0.[U_TCS1]  FROM [dbo].[OINV]  T0 INNER JOIN [dbo].[INV1]  T1 ON T0.DocEntry = T1.DocEntry left JOIN [dbo].[OCTG]  T2 ON T0.GroupNum = T2.GroupNum INNER JOIN INV12 T3 ON T0.DocEntry = T3.DocEntry WHERE T0.[DocNum] ={?InvoiceNum}
    Thanks

    Hi,
    Try this query in query generator. Let me know the query result.
    SELECT Distinct T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[Address],T0.[Address2],  T0.[NumAtCard],T0.[ShipToCode], T0.[DocTotal], T0.[U_CST],T0.[U_STIN1], T0.[U_Fright], T0.[U_TPNAME], T0.[U_TNO], T0.[U_DNAME], T0.[U_Warranty],T0.[U_PONum] ,T0.[U_TINNo],T0.[VatSum],T0.[CntctCode],T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[Price], T1.[TaxCode], T2.[PymntGroup], T3.[TaxId5], T3.[TaxId11], t0.[U_AmntinWrds],T1.[DiscPrcnt],t1.[linetotal],T0.[U_VAT],T0.[RoundDif],T0.[TotalExpns],T0.[U_Vat4],T0.[DocNum], T0.[U_VAT5], T0.[U_TCS1], T0.[U_CST1], T0.[U_VAT], T0.[U_Vat4], T0.[U_VAT5], T0.[U_TCS1]  FROM [dbo].[OINV]  T0 INNER JOIN [dbo].[INV1]  T1 ON T0.DocEntry = T1.DocEntry left JOIN [dbo].[OCTG]  T2 ON T0.GroupNum = T2.GroupNum INNER JOIN INV12 T3 ON T0.DocEntry = T3.DocEntry WHERE T0.[DocNum] = [%0]
    Thanks & Regards,
    Nagarajan

  • Report showing data only when preview in Eclipse is executed

    Hi people,
    I intend to do a dynamic report sending two parameters and displaying on browser.
    My application runs under Coldfusion 9 and i'm using Java Reporting Component for report generation and Crystal Reports Design for Eclipse 2.0 for design and Oracle 10g database.
    In first preview it shows the parameter window and after confirmation the report is generated. But when i preview again the report is generated with the older data. It seems that the data in the first execution is cached.
    In Coldfusion execution the report appears in browser when the value on the line parameter.setCurrentValue("","Pessoa",value); is the same used in preview. After change this an generic exception Error loading JDBC driver. Class 'oracle.jdbc.driver.OracleDriver' not found is throwed.
    The Coldfusion code is below.
    <cfscript>
         byteRead                    =     '';
         exportFormat               =     createObject('java','com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat').PDF;
         reportBuffer               =     createObject('java','java.io.ByteArrayOutputStream');
         reportDocument               =     createObject('java','com.crystaldecisions.reports.sdk.ReportClientDocument');
         reportParameter               =     createObject('java','com.crystaldecisions.reports.sdk.ParameterFieldController');
         printOutputController     =     createObject('java','com.crystaldecisions.reports.sdk.PrintOutputController');
         connInfo                    =     createObject('java','com.crystaldecisions.sdk.occa.report.data.ConnectionInfo');
         reportPath                    =     expandPath('report/DividasPessoas.rpt' );
         reportDocument.open(reportPath, 0);
         parameter = reportDocument.getDataDefController().getParameterFieldController();
         parameter.setCurrentValue("","Credor","1");
         parameter.setCurrentValue("","Pessoa","226426");
         printOutputController = reportDocument.getPrintOutputController().export(exportFormat);
         reportDocument.close();
         do{
              byteRead = printOutputController.read();
              reportBuffer.write(byteRead);
         }while( printOutputController.available() NEQ 0 );     
         reportBuffer = reportBuffer.toByteArray();
    </cfscript>
    <cfheader name="content-length" value="#ArrayLen(reportBuffer)#" />
    <cfheader name="content-disposition" value="inline;filename=Report.pdf" />
    <cfcontent type="application/pdf" variable="#reportBuffer#" />
    I googled a lot about the problem, reviewed all Eclipse options to disable the "cache" but everything was unsuccessful.
    I don't know if missing code is causing this or another component that i need to use.
    Any suggestions?
    Thanks everybody for attention and sorry for english errors.
    Ian

    Hi,
    Regarding your query that when you preview a report that has parameters in it, the prompts daillog box comes when you first preview the report.when you again preview you get the old values again.
    For this there is a refresh button, click on refresh, it will again promt you for parameters.
    Thanks
    Prithvi

  • Crystal reports show rows of a field in detail section in number of columns while exporting in ms excel

    Hi,
    I have a crystal report and a field called source.
    The source field can contain more than one records.
    When I export it to ms excel then source field is shown in three rows in excel.
    Name
    Source
    Batch No
    ABC
    A0001
    K1
    K2
    K3
    But now I want to export to excel in the following format
    Name
    Source
    Batch No
    ABC
    A0001
    K1
    K2
    K3
    The Name and Batch No field are in Group Header and Source in detail section.
    Also the Source field can vary in number i.e. there can be any number of Source.
    And I only want this type of output when exporting to MS Excel.
    Is there any way to do this?
    Please reply.
    Thanks.

    Try this:
    1) Create a formula with this code and place it on the Details Section:
    whileprintingrecords;
    numbervar x := x + 1;
    stringvar col1;
    stringvar col2;
    stringvar col3;
    if x = 1 then col1 = {Source}
    else if x = 2 then col2 = {Source}
    else if x = 3 then col3 = {Source};
    2) Create another formula and place this on the Group Header:
    whileprintingrecords;
    numbervar x := 0;
    stringvar col1 := "";
    stringvar col2 := "";
    stringvar col3 := "";
    3) Create three separate formulae - one each for the three Source columns and place these on the Group Footer:
    E.g. for first Source column:
    whileprintingrecords;
    stringvar col1;
    E.g. for second Source column:
    whileprintingrecords;
    stringvar col2;
    Drag and drop these formulae beside each other on the GF.
    4) Move the 'Name' and 'Batch No.' fields from the Group Header to the Group Footer
    5) Suppress Group Header and the Details Section.
    -Abhilash

  • Disable Crystal reports grey fields in the preview

    Dear forum users, I've got an application not written by me (so I do not have source code) that displays a Report in a standard Crystal Report Viewer. In the preview when I click on a field it gets rounded with a grey border, filled with a grey background.
    This is causing me some problems when I use the application via Remote Desktop Connection.
    Since I don't like this feature the question is: can I disable this feature (maybe by changing an entry in the Registry Editor)?
    Best regards
    Alessandro

    Hi Alessandro,
    I think maynot be. whats the screen resolution of your system? If you change it probably you can see that particular grey box clearly.
    or
    try to export that file to excel or pdf. probably you will see the file with you vagueness.
    Regards
    Usama

  • Random Characters insterted into Crystal Reports string fields

    I'm having a problem where random characters are being inserted into string fields in my crystal reports, I talked to a representative and they are unable to fix the problem, so I'm asking here if someone has a workaround.  The characters are always outside of the normal set of characters, so I'd like to know if there is a way to only allow certain characters in a given field using formulas.  (for example, at a very simple level, i would input a list of "legal characters" and the field in crystal wouldn't display anything but those characters)
    thanks for your time and help

    Sorry, i think I've been a bit imprecise so far
    So these characters ONLY appear when printing the report and not when previewing the report in Crystal Reports?
    They appear when previewing, when actually printing, everything after the characters is cut off
    Are you printing directly from CR or from Enterprise/Infoview or another custom application?
    From CR (both to PDF and paper)
    When did you update your print driver last?
    Not sure, although this may be moot since it also shows up in the preview?
    Have you printed on another printer and does it too exhibit the same behavior?
    Same as above?
    Was the report created by you in CRXI? Are your regional settings set to English (language)?
    Yes I created the report in CRXI, and in terms of the regional settings, I'm not sure but would assume so, how do I check/change this?

  • Why Would Crystal Reports read more than it prints

    Hi everyone,
    In my case My record selection is based on the following:
    {FACILITY}=1
    And {payment_code} In ["110","111","112","115","116","117"]
    And {service_code} = "COPAY"
    And {date_of_receipt} in [{?From Date} to {?To Date}]
    And yet for any parameter selection set crystal reports would read - say - 1000 records but prints only 25 records, the question is if the records found according to the selected values from parameter and the record selection formula, is only 25 records, then why would it read 1000 records? what is the reason? and how to avoid it?
    Thanks in advance!

    It may also be what the numbers are telling you is the filter (WHERE) cannot be pushed down to the Server so CR has to filter it client side on the second pass.
    Likely due to the data range, quite often the date format is not compliant to the Server so CR has to "interpret" the date format so it ends up filtering client side.
    Try commenting out that part of the selection formula and see if you get the same number of records read. If you do then you could try using a SQL Express to convert the date fields or possibly using a Command and Command Parameter to set the date range may work for you. This way the DB is definitely getting the date formatted for it's server side use.
    Don

  • Export Crystal Report to PDF only

    Hi,
    I'm new to Crystal Report(CR) for VS2010, so please bear with me. How do i make CR to export to PDF file only. When i try to click on the export icon, it gives me so many options to export the file but i only need the user to export to PDF file. Any help is greatly appreciated.

    Hello,
    CR for VS 2010 now gives you the options through an API to allow which types will show up in the export options.
    In your viewer click event add this :
    private void ViewReport_Click(object sender, EventArgs e)
        rptClientDoc = rpt.ReportClientDocument;
        crystalReportViewer1.ReportSource = rpt;
        // set up the format export types:
        // to set each type allowed
        //int myFOpts = (int)(CrystalDecisions.Shared.ViewerExportFormats.RptFormat | CrystalDecisions.Shared.ViewerExportFormats.PdfFormat | CrystalDecisions.Shared.ViewerExportFormats.RptrFormat | CrystalDecisions.Shared.ViewerExportFormats.XLSXFormat );
        // to set all types allowed
        int myFOpts = (int)(CrystalDecisions.Shared.ViewerExportFormats.AllFormats);
        crystalReportViewer1.AllowedExportFormats = myFOpts;
    Thank you
    Don

  • How to print a crystal report in Tally MT691 line printer?

    I have recently developed a crystal report with version 8.5 in windows-based operation system (windows xp). My client today told me that the report has to be able to print to a network printer - line printer (Tally MT691); otherwise, the crystal report I developed becomes useless. I have no experiences with line printer. Could you please give me some instructions on how to make it happen?
    Any help is greatly appreciated. Thanks again.
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on May 7, 2009 11:05 AM

    Hi
    Unfortunatelly you need to worry about the printer, please don't consider the last replies.
    As far I can see this model is a dot matrix printer, only the following models are supported for SAP B1:
    For 2005A those are the supported models:
    - Citizen PROdot 300    
    - Epson FX-880          
    - OKI MICROLINE 320 Elite
    - Epson FX-890          
    For the 2007
    - Citizen PROdot 300    
    - Epson FX-880          
    - OKI MICROLINE 320 Elite
    Please note that some workaround can be found to use different printer but only the mentioned devices are supported. Those workarounds may work in one patch but may stop to work after patch or version upgrade.
    Also a multipurpose (combine fax, printer, scanner) devices are also note supported (SAP Note 925841).
    Paulo Calado
    SAP Business One Forums Team

  • How to change crystal report data field at runtime ?

    Hello everyone,
    I have a Crystal Report file ,which i am using to generate report for my windows form project .
    In that report i have a filed called as Quantity which data type is set as decimal, the requirement is like that the number of value those comes after decimal point that should be set according to the value which is given by the user at the run time .
    For eg: If user gives 1 at the run time then the report Qty field value set one value after decimal point. Like 12.1
    if user gives 2 then Qty field the value is 12.22 like tat  but user can give from zero to any number.. and if it is zero it should not show decimal
    Note: The main idea hear is how to change the filed in Crystal Report decimal point value by using code(or we say writing code we need to set manually as user input it will change)
    Can any body help me how to solve this issue .
    S.K Nayak

    I think you could probably make the field you see a formula field and take a parameter as the number of decimal places.
    totext converts a number to a string.
    totext({decimalField}, 2)
    That's 2 decimal places.
    You could probably substitute a {parameter} for that 2.
    If not then you could substitute an entire formula.
    To explore formulas:
    foreach (FormulaFieldDefinition f in rpt.DataDefinition.FormulaFields)
    MessageBox.Show(f.Name);
    // f.Text = your new formula
    Where rpt is an instantiated report.
    Or add another string field which you display in the column and do the calculation with the original decimal.
    Hope that helps.
    Recent Technet articles:
    Property List Editing;  
    Dynamic XAML

  • '#' unexpectedly inserted into output fields in script print preview

    Hello Experts,
    I came across a problem that confused me so much that when i try to see the print preview of a script form, the output fields in Main window were all printed with '#' inserted, as below:
    the output is like 7#8#0#0#0#....but it should be 7800017167
    and also, for other fields like date and amount, the same problem occurs.
    But the most weird thing is that, the issue only occurs in the Main Window of the second page of the form, but not in the first page although they share the same  Main Window. And what's more, it only happened in the Testing System, I can not replicate them in develop system...
    I know it may be a very isolate problem, but i just want to try my luck to see if any of you could shed me some light~
    Thanks!

    Hi Siva,
             Can you tell me please, wheather its a "Z" driver program or Standard driver program.
             After execution of the program/transaction code go for <b>systems</b>> then for <b>Status></b> then you can find the <b>program name.</b> You can go into that and search for  the <b>Open_form</b>. Before Open form set the <b>BreakPoint</b> there you can find the form name which will pass during run time through variable.
             other option is that go for <b>NACE</b> transaction and see for <b>routine,</b> <b>for example</b> If it is invoice then it will be Billing. select your that<b> area</b> and click on <b>Output type button.</b> there you can see the output types You can go in that and see for program and form name, then you can confirm the output type.
    reward point if it is helpful.
    Regards
    Sagun Desai.

  • Crystal report PLD giving dump error during preview

    Hi,
    I have developed a Crystal report PLD for A/R Credit Memo (RIN1). It is working perfectly while running from Crystal report interface. After importing the same from Report and Layout Manager in SAP, while trying to view the preview it is giving dump error. Can anyone help me out in this regards.
    Thanks in advance.

    Hi,
    Check SAP note:
    1562837 - Previewing/printing some Crystal Reports layouts crashes
    B1
    Thanks & Regards,
    Nagarajan

  • How to get Crystal Reports Editor in Visual Studio 2013 Preview?

    In Visual Studio 2005, if I double-click a *.RPT file in Solution Explorer, the file opens in the Crystal Reports editor.
    In Visual Studio 2013 Preview, if I double-click a *.RPT file, it opens in Notepad.  How do I get it to use the Crystal Reports editor again, please?
    Thanks and RICKgards
    Rick Raubenheimer

    Hi Rick,
    Since Visual Studio 2013 is still Preview version, I don't think you can find  something like this:
    SAP Crystal Reports, developer version for Microsoft Visual Studio - 2012
    Please notice that you will need to install additional packages for latest VS version, such as Visual Studio 2010 and Visual Studio 2012,
    For more details, please reopen a new case on this forum:
    http://scn.sap.com/community/crystal-reports-for-visual-studio/content?filterID=content~objecttype~objecttype[thread]
    Or contact SAP for support since it is a third party feature to Visual Studio.
    Best regards,
    Barry Wang
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

Maybe you are looking for

  • PRODUCT GROUP

    While creating product group I am getting error message MG144 as "The field is defined as a required field; it does not contain an entry" I tried to create material type Product group, there also I am getting same message no as "The field Profit cent

  • What is a max amount of ram hp pavilion TX 2000 support

    system Vista 64 bit, and what specification should i ask for if i want to upgrde it?

  • Substition strings don't work properly

    Hi all, I have to create a Apex theme and it's not really working out with certain elements. (Using Application Express 3.2.1.00.10) First I had a version that did show my tabs with #PARENT_TAB_CELLS#. I had to define the cells with #TAB_TEXT# though

  • RMAN archive logs backup and restore in RAC environment.

    Hello All, I have a 8 node RAC using ASM production database and a single node standby database using ASM. I have archive log gap on the standby database and the archive logs on the primary database is backed up and removed. I need to resync the stan

  • Bapi?

    How to Develope an interface program to upload the Purchase Requisition from legacy system to SAP using BAPI for Transaction ME51N.?