Excel export in crystal report

Post Author: aravinthkula
CA Forum: Crystal Reports
          I have a requirement to open a new window from one of the reportviewer report columns, I know we have to use Navigation->Hyperlink Action->Jump To Url->="BLOCKED SCRIPTvoid(window.open('http://samplewebsite.com', '_blank'));"
        And then I try to export to excel, From excel I am trying to open the link, I am getting the message "This location may be unsafe" or "hyperlinks can be harmful to your computer and data. To protect your computer, click only those hyperlinks from trusted sources."
       Is there another way to open a link in new window which is compatible from Reportviewer and from Excel as well.

Try adding c:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to your windows enviroment variable PATH then restart.

Similar Messages

  • How to enhance the Excel export from Crystal Reports

    Hello,
    I am new in Crystal Reports and I wonder if it is possible to enhance the Excel export from Crystal Reports with post-processing that would be applied to the Excel exported file.
    By example, is it possible to freeze the window panes, so rows and columns are frozen in place on the screen?
    Is there any possibility to obtain the file exported to excel to work with.
    Or maybe there is some ways to parametrize the Excel export from Crystal Reports?
    Any suggestions are welcomed.

    If you are using Crystal Reports 2008 you can use the Report Application SDK that is now available.
    It has a object called PrintOutputController that has an export method that allows you to get access to the exported file before you send it to the user.
    Check the Developer library and the samples for details.
    <a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/robhorne</a>

  • Invalid export DLL or export format when export  with Crystal Reports 2008

    Hi,
         We have an serious issue while exporting the crystal report into excel. We are able to export into all type in our development environment. But when we tried to export from our server all exports working except the excel. However when we restart the IIS the excel export also working for sometimes and again we are facing the same problem.
    Development environment:
    .Net 2008
    Crystal report 2008
    SQL Server 2008
    +Server Environment:+
    IIS7.0 in Classical mode
    Crystal report 2008 runtime without any SP
        We chosen Classical mode to avoid the error 'an error occurred on the server. printing will be stopped' after a successful print. It is an known issue and I'm curious to know is there any fix available to resolve this issue. Because we prefer Integrated mode.
        Earlier we dont face the excel export problem and we encountered after the SP3 installation. So we uninstalled it from server and we just installed only the run-time. But still we are facing the same problem. we could not able to conclude the cause of this issue because classical mode may create this issue?
    This is a very critical issue to us, so if anyone has the solution please help me.
    Thanks

    Hello,
    Not clear, did you mean when you install SP 3 it worked?
    Use Process Monitor or Fiddler to see what is failing. With out an error message or any other error from IIS logs or Event Viewer logs anything could be the cause.
    Thank you
    Don

  • Can we create Multi Tabbed excel Sheet using Crystal Reports 2008

    Hi,
      We want to create a Crystal Report which will export the output as multiple Tab's ( we can use sub reports).  Can we create a Multi Tabbed excel Sheet using Crystal Reports 2008 ( not  Crystal reports Basic 2008). Please share any information/links on how to do that.
    Also if it is not supported please let us know which version supports it.
    Thanks,
    Vasu

    At least one of the 3rd-party Crystal Reports Desktop Scheduling tools listed at: http://www.kenhamady.com/bookmarks.html provides that functionality.  It allows you to burst a single report so that each Group at level 1 becomes a separate tab.  You can control the tab names (and tab colors) via fields/formulas inside the report.
    You can also automate the process of exporting to (and also replacing or appending to) specified tabs inside existing workbooks.

  • Exporting a crystal report as PDF and Attaching to an email via code - Filename Issuses?

    Post Author: alynch
    CA Forum: .NET
    I need to export a crystal report as a pdf and send it out via email.  I have created a subroutine that works but the attached filename come up as "untitled.txt" so the receiving machine believes it is a text file.  If I rename it on the recipients machine to a ".pdf" I can open it with acrobat and it looks OK.  Does anyone know how to rename the file as a pdf prior to sending it out? 
    Thank You.
    al
    I have included a copy of the subroutine:
    Dim repdoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
    Dim diskOpts As New CrystalDecisions.Shared.DiskFileDestinationOptions()
    Dim ExpOpts As CrystalDecisions.Shared.ExportOptions
    Dim MailOpts As New CrystalDecisions.Shared.MicrosoftMailDestinationOptions()
    repdoc = Me.CrystalReport11
    repdoc.Load("C:\Documents and Settings\User\My Documents\Visual Studio 2005\Projects\WindowsApplication3\WindowsApplication3\CrystalReport1.rpt")
    ExpOpts = repdoc.ExportOptions
    With ExpOpts
    .ExportDestinationType = CrystalDecisions.&#91;Shared&#93;.ExportDestinationType.MicrosoftMail
    .ExportFormatType = CrystalDecisions.&#91;Shared&#93;.ExportFormatType.PortableDocFormat
    End With
    With MailOpts
    .MailMessage = "Message"
    .MailToList = "enter email adress here"
    .MailSubject = "Attached is a PDF file - .net Export test "
    End With
    ExpOpts.DestinationOptions = MailOpts
    Try
    repdoc.Export()
    Catch err As Exception
    MessageBox.Show(err.ToString())
    End Try
    End Sub

    Post Author: Knight
    CA Forum: .NET
    I had this same problem today, here's what I used. Its built in 2 parts. Step one loops throught and exports PDF copies of a traking report. Step 2 builds an email list from a SQl query and sends it.STEP ONE:Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click        'Declare the some variables        Dim row1 As DataRow        Dim brokerID As String        Dim brokername As String        Dim brokerEmail As String        Dim shipdate As String        Dim crParameterFieldDefinitions As ParameterFieldDefinitions        Dim crParameterFieldDefinition As ParameterFieldDefinition        Dim crParameterValues As New ParameterValues()        Dim crParameterDiscreteValue As New ParameterDiscreteValue()        Dim crParameterFieldDefinitions1 As ParameterFieldDefinitions        Dim crParameterFieldDefinition1 As ParameterFieldDefinition        Dim crParameterValues1 As New ParameterValues()        Dim crParameterDiscreteValue1 As New ParameterDiscreteValue()        Dim CrReport As New CrystalReport1() ' Report Name         Dim report As ReportDocument = "O:KNIFormats_ReportPrivateSMStageShipmentInfo"        Dim CrExportOptions As ExportOptions        Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions()        Dim CrFormatTypeOptions As New PdfRtfWordFormatOptions()        Dim SHIPDATE123 As String        SHIPDATE123 = _month & "/" & _day & "/" & year        Dim db As String        db = System.Configuration.ConfigurationSettings.AppSettings("Datalogin")        Dim sqlCon As New SqlConnection        sqlCon.ConnectionString = db        Dim strsql1 As String        strsql1 = "SELECT     tblSOOrd_Hdr.BrokerCd, tblSO_Ord_Hdr.BrokerName, tblSM_Ship_Hdr.ShipDate "        strsql1 &= "FROM         tblSO_Ord_Hdr INNER JOIN tblSM_Ship_Hdr ON tblSO_Ord_Hdr.Locale = tblSM_Ship_Hdr.Locale AND tblSO_Ord_Hdr.OrdNo = tblSM_Ship_Hdr.OrdNo AND "        strsql1 &= "              tblSO_Ord_Hdr.RlsNo = tblSM_Ship_Hdr.RlsNo INNER JOIN tblSys_Cust_Broker ON tblSO_Ord_Hdr.BrokerCd = tblSys_Cust_Broker.BrokerCd "        strsql1 &= "GROUP BY tblSO_Ord_Hdr.BrokerCd, tblSM_Ship_Hdr.ShipDate, tblSO_Ord_Hdr.BrokerName "        strsql1 &= "HAVING      (tblSM_Ship_Hdr.ShipDate = '" & SHIPDATE123 & "') "        Dim da1 As New SqlDataAdapter(strsql1, sqlCon)        Dim worktbl1 As DataTable        worktbl1 = New DataTable("tblEmail")        da1.Fill(worktbl1)        da1.FillSchema(worktbl1, SchemaType.Source)        If worktbl1.Rows.Count > 0 Then            For Each row1 In worktbl1.Rows                brokerID = CStr(row1("BrokerCd")).Trim                brokername = CStr(row1("BrokerName")).Trim                shipdate = CStr(row1("ShipDate")).Trim                CrReport.Load()                crParameterDiscreteValue.Value = shipdate                crParameterFieldDefinitions = CrReport.DataDefinition.ParameterFields                crParameterFieldDefinition = crParameterFieldDefinitions.Item("ShipDate")                crParameterValues = crParameterFieldDefinition.CurrentValues                crParameterValues.Clear()                crParameterValues.Add(crParameterDiscreteValue)                crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)                crParameterDiscreteValue1.Value = brokerID                crParameterFieldDefinitions1 = CrReport.DataDefinition.ParameterFields                crParameterFieldDefinition1 = crParameterFieldDefinitions1.Item("Broker")                crParameterValues1 = crParameterFieldDefinition1.CurrentValues                crParameterValues1.Clear()                crParameterValues1.Add(crParameterDiscreteValue1)                crParameterFieldDefinition1.ApplyCurrentValues(crParameterValues1)                CrDiskFileDestinationOptions.DiskFileName = "c:Test_Folder20" & _year & "-" & _month & "-" & day & "" & brokername & ".pdf"                CrFormatTypeOptions.FirstPageNumber = 1 ' Start Page in the Report                 CrFormatTypeOptions.LastPageNumber = 1000 ' End Page in the Report                 CrFormatTypeOptions.UsePageRange = True                CrExportOptions = CrReport.ExportOptions                With CrExportOptions                    .ExportDestinationType = ExportDestinationType.DiskFile                    .ExportFormatType = ExportFormatType.PortableDocFormat                    .DestinationOptions = CrDiskFileDestinationOptions                    .FormatOptions = CrFormatTypeOptions                End With                Try                    CrReport.Export()                Catch err As Exception                    MessageBox.Show("DID NOT EXPORT")                End Try            Next            MessageBox.Show("All PDF's exported succesfully")        End If    End SubSTEP 2: Private Sub Button3Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click        Dim row2 As DataRow        Dim SHIPDATE123 As String        SHIPDATE123 = _month & "/" & _day & "/" & year        Dim db1 As String        db1 = System.Configuration.ConfigurationSettings.AppSettings("Datalogin")        Dim sqlCon As New SqlConnection        sqlCon.ConnectionString = db1        Dim strsql2 As String        strsql2 = "SELECT     tblSOOrd_Hdr.BrokerCd, tblSys_Cust_Broker.BrokerName, tblSM_Ship_Hdr.ShipDate, tblSys_Cust_Broker.ContactEmail "        strsql2 &= "FROM      tblSO_Ord_Hdr INNER JOIN tblSM_Ship_Hdr ON tblSO_Ord_Hdr.Locale = tblSM_Ship_Hdr.Locale AND tblSO_Ord_Hdr.OrdNo = tblSM_Ship_Hdr.OrdNo AND "        strsql2 &= "          tblSO_Ord_Hdr.RlsNo = tblSM_Ship_Hdr.RlsNo INNER JOIN tblSys_Cust_Broker ON tblSO_Ord_Hdr.BrokerCd = tblSys_Cust_Broker.BrokerCd "        strsql2 &= "GROUP BY  tblSO_Ord_Hdr.BrokerCd, tblSM_Ship_Hdr.ShipDate, tblSys_Cust_Broker.ContactEmail, tblSys_Cust_Broker.BrokerName, tblSys_Cust_Broker.Email_ASN "        strsql2 &= "HAVING    (tblSM_Ship_Hdr.ShipDate = '" & SHIPDATE123 & "') AND (tblSys_Cust_Broker.Email_ASN = 1) AND (tblSys_Cust_Broker.ContactEmail <> '') " Dim da1 As New SqlDataAdapter(strsql2, sqlCon) Dim worktbl2 As DataTable worktbl2 = New DataTable("tblEmail12") da1.Fill(worktbl2) da1.FillSchema(worktbl2, SchemaType.Source) Dim brokerID As String Dim brokername As String Dim brokerEmail As String Dim shipdate As String If worktbl2.Rows.Count > 0 Then For Each row2 In worktbl2.Rows brokerID = CStr(row2("BrokerCd")).Trim brokername = CStr(row2("BrokerName")).Trim brokerEmail = CStr(row2("ContactEmail")).Trim shipdate = CStr(row2("ShipDate")).Trim Dim mail As New MailMessage Dim att As String att = "c:Test_Folder20" & _year & "-" & _month & "-" & _day & "" & brokername & ".pdf" 'set the addresses mail.From = New MailAddress("[email protected]") mail.To.Add(brokerEmail) mail.Attachments.Add(New Attachment(att)) 'set the content mail.Subject = "Shipment Tracking report from Knox Nursery for " & SHIPDATE123 mail.IsBodyHtml = True mail.Body = "
    " mail.Body &= "This shipment update has been requested by:
    "                'send the message                Dim smtp As New SmtpClient                smtp.Send(mail)                ' MessageBox.Show("No Records Found", "Failed to send", MessageBoxButtons.OK, MessageBoxIcon.Stop            Next        Else            MessageBox.Show("No broker have opted in", "No Emails Sent", MessageBoxButtons.OK, MessageBoxIcon.Information)        End If        MessageBox.Show("Emails sent... ", "Emails Sent", MessageBoxButtons.OK, MessageBoxIcon.Information)    End Sub

  • Export Arabic Crystal Report To PDF

    Hi,
    I am using JRC component to build crystal reports in English & Arabic. All works well except exporting Arabic crystal report to PDF?
    Crystal File Format Schema: 12.0.0
    I was reading another 3 years old thread and this was stated there:
    "If you are using the Java Reporting Component, you will not be able to see Arabic characters in your PDF document because the JRC does not support font embedding, and only works with a specific character set when exporting to Adobe" Any from SAP can you please confirm that does this still hold true? And are there any chances or plan to add support in future?
    Regards
    SC

    Please disregard that part of the previous message.
    As mentioned earlier, it depends on which of our products you are using to export the report.  If you are using the Java Reporting Component, you will not be able to see Arabic characters in your PDF document because the JRC does not support font embedding, and only works with a specific character set when exporting to Adobe.
    If you are using the Crystal Reports designer or BusinessObjects Enterprise SDK to export the report, you will need to ensure you have the character set installed on the same machine; for BOE SDK it needs to be on the machine with all of the services.

  • Unable to export from Crystal Report - font OCR A STD

    We currently  have Crystal Report version 11.5, but I am having the issue of not being able to export the Crystal report file to PDF due to the report has font OCR A STD.  Error message is 'Failed to Export Report.'  Are there any options to resolve this issue?

    Hi Don,
    For my report I am using .ttf font only, But it's giving the same issue while exporting report to pdf
    Please help me.
    Thanks,
    Nitesh

  • Step- by- Step on How to Load Excel data into Crystal Reports?

    Hi Friends,
                      Can anyone send me a Step- by- Step on How to Load Excel data into Crystal Reports? Pls help me. Thanks in Advance.
    Vijay

    It's also important to 'prep' the excel file prior to connecting to it.
    Give the data tab a meaningful name
    Make sure the column headers are unique and that every column has a header
    Delete any blank tabs
    If you have trouble with Excel changing the data type of a field (say, a social security number you want to be a string value rather than a number so you don't lose leading zero) an alternative would be to save the spreadsheet file as a CSV, create a schema.ini to specify the data types for each column (example below) and use the same steps to connect except instead of choosing Excel 8.0, scroll to the bottom and choose Text.  You have to make sure the CSV file is in the same folder as the schema.ini file that defines the columns.
    Schema.ini example:
    200912PUSD.csv
    ColNameHeader=True
    Format=CSVDelimited
    MaxScanRows=25
    CharacterSet=OEM
    Col1=SSN Char Width 9
    Col2=LAST_NM Char Width 25
    Col3=FIRST_NM Char Width 25
    Col4=DOB Date
    Col5=STDNT_ID Char Width 10
    Col6=SORTKEY Char Width 10
    Col7=SCHOOL_NM Char Width 30
    Col8=OTHER_ID Integer
    Col9=GRADE Char Width 2
    The filename in the first line needs to have the []  brackets around it, but I couldn't get it to display in this forum correctly.
    Edited by: Eric Petersen on Jan 27, 2010 9:40 AM

  • Can we import extact Excel file in Crystal report in BO

    an we import extact Excel file in Crystal report in BO
    if yeh
    den HOW

    Hi Amit,
    There is no functionality to import the data from MS Excel to Crystal reports. However we can connect to the Excel sheet as a data source and create Crystal reports against Excel.
    Some popular choices in the Create New Connection folder are described here:
    Access/Excel (DAO)
    This option lets you connect to a supported database type (Access, Excel, Lotus, and so on).
    I hope this helps you.
    Regards,
    Prashant

  • Wanted to know that can we export the Crystal report in .rtf file

    Hi,
    We are using your u201CCrystalu201D product version 8.5, We have  a valid license .
    Our license number is u201CA6A50-0910000-H410031.
    We are facing some problem while creating the report.
    We want to know that, do you have any functionality to export the report in .rtf format.
    Because here we are not able to export the crystal report in .rtf file.
    If this is possible then please help me.
    Thanks in advance..
    Thanks and Regards,
    Abhineet

    If this is a report creation question, post to the Report Design forum:
    SAP Crystal Reports
    Ludek

  • Exporting 'drillable' Crystal Reports

    I have produced some 'drillable' Crystal Reports that I can export as Crystal Reports.
    We would like to distribute these reports to wide audience so I've looked at exporting these as PDF but when I do the report is no longer 'drillable', is there a way around this?
    I believe that there is a free Crystal Reports viewer that we could distribute to those receivieng this report but is this the best option for handling this if we need to export and distribute this report as a Crystal Report?

    You can use Crystal Reports Server - or Enterprise to distribute the reports but exporting to other formats does not mean that those applications automatically inherit Crystal functionality (drill-down for example).
    As for 3rd party tools that would be up to you to research.

  • When Exporting a Crystal Report to Excel format all of the dates get changed when viewed on Mac version of Excel

    We're using Crystal Reports 10 and when we export a report from the Crystal Viewer using either the MS Excel 97-2000 option or the MS Excel 97-2000 (Data Only) option, the date columns on the report appear as expected on a PC version of Excel, however, most of the users at our company use Macs so when they open the same report on the Mac version of Excel all of the dates show up as 2011 or 2012 dates eventhough they are suppose to be 2008 dates. We've tried to just open the report after the export process and then do a "Save As" but get the same result. The date columns all appear to be formatted as Date. The dates on the Crystal Viewer appear as expected when viewed on a Mac. The users are running Excel for Mac OS-X Service Release 1.0. Any idea why this may be happening and is there a solution to this problem? Thanks!

    Hi,
    To clarify, are you currently using the Mac version of Crystal Reports Viewer 2008 which you downloaded from here?: http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/viewer/index.epx

  • Enable Excel 2007 format export on Crystal Reports Server 2008 - Sharepoint

    I'm trying to use Sharepoint's excel services to post some charts from an exported Crystal report to sharepoint.  However Crystal Reports Server 2008 only exports excel 97-2003 format.  How can I update the Crystal Reports Server 2008 components to support Excel 2007 format.  Has anyone done this before?
    Thanks,
    Dominic

    Unfortunately what you are looking for is not possible (At least as far as I know).  Crystal is limited to the formats that it already has - and it is not possible to add additional export formats.
    Sorry
    Shawn

  • Cannot export crystal report in excel format from crystal report viewer

    This problem occurs on only one workstation.
    Open Advanced Reports > Enter workorder # > Click on 'workorder work(uninvoiced)' > Work order opens.
    Click on icon "Export report"
    Save as type: change to .xls
    Error: Crystal Report Windows Forms Viewer. Error in file
    SAP.......rpt:
    Error detected by export DLL:
    Export failed.

    Try adding c:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to your windows enviroment variable PATH then restart.

  • RCIRAS0546 Error - Unable to Export a Crystal Report from BOE XI (SP3) 3.1

    Hello,
    We have just upgraded to Crystal Reports 2008 (from Crystal Reports 10) and BOE XI 3.1 sp3 (from Crystal Enterprise 10).  The reports created in CR 10 open and generate just fine from within CR 2008, and they are saved to BOE XI.  When I view the CR from within BOE XI web gui, the report displays fine in Crystal Report format.  When I attempt to export the report to .pdf, I get the error "Your request could not be completed because a failure occurred while the report was being processed. Please contact your system administrator. [RCIRAS0546]"  I tried exporting the report to Word, Excel, RTF, and CSV and did not get any error.  Adobe Reader IS loaded on the server (we are running direct on server right now to test before deploying over web). 
    This does not happen with all of our reports, and we can't figure out why it happens with some and not others.  Another thread on the forum led me to believe it may have been due to subreports, but this is not the case as the reports that error sometimes have subreports, sometimes not.  Some reports have formulas, some do not.  I can't find the common design between them to cause this issue.
    Any help would be GREATLY appreciated!!
    (FYI - I've changed the default Input and Output directory of the servers from the default C drive to the D drive as it is larger.  I simply overwrote the placeholder and ensured the folder path existed - which it does.  Not sure if this applies.  I also pointed the temp directory to the same D location)

    BI Platform
    -Abhilash

Maybe you are looking for

  • HTTP Button Submit not working in FireFox

    I am using Adobe Life Cycle Designer to make a Form. I have a Problem that the HTTP Submit Button is not working in FireFox. It works with IE but not with FireFox. I have also checked this with Button Submit Control.Please Help me.

  • Media Encoder not keeping duration metadata

    Ok, first off, I'm still new to using the Media Encoder, so I am asking, if you have a solution, please feel free to treat me like a 3-year old or like someone who doesn't know how to change their own tire.  Yes, I am asking of hand holding here, mai

  • DatabaseMetaData.getTables() and DBMS with no schema support

    Hi, I'm developing JDBC driver for Firebird DBMS (http://firebirdsql.org), open-source clone of Borland's InterBase. I have problem in understanding what to do in methods where catalog and schema are passed as parameters. Firebird does not have such

  • Can not access my net zero email on firefox but can on internet explorer.

    I've been using version 5.0 with out issue. Installed and ran AVGs PC Tools computer scan. AVG failed to correct found errors. After that, firefox would no longer go to net zero message center. It says it is loading: Loading [email protected]...... B

  • New License Mechanism

    Hello Experts ,                                I want know new license mechanism for SAP B1 8.8 .There is Note 1223477 Given on SAP portal which is for SAP B1 2007. can anyone explain me new licensing for 8.8 for professional, limited and Addon acces