Exporting report based on a file (.rpt)

Hi
Not sure how to do this:
I have a winforms app with a Crystal Viewer on a Form. I load the ReportSource from a file
cryViewer.ReportSource = "C:\CryReport.rpt"
for instance.
What I want to do once the report is loaded and possibly refreshed by the user is to export the report to PDF/Excel/Word etc.
I have done this before with reports that are generated with a Crystal Report Class (reports embedded in the WinForm application) by setting up the ExportOptions and using the Export() function as is well documented everywhere.
I can't seem to work out how to Export if the Viewer has it's report originally brought in from a file.
Any ideas anyone?
Thanks in advance,
Julian

Thanks for your prompt reply Ludek.
Based on a report that is pre-created in the (VB) WinForm app at design time, giving you a .vb Class file, I have exported a report with the following code before:
Public Function CrystalConvert(ByVal rptIn As CrystalDecisions.CrystalReports.Engine.ReportClass, _
                                                   ByVal inFormat As CrystalDecisions.Shared.ExportFormatType, _
                                                   ByVal strInPath As String) As Boolean
        Try
            Dim CrExportOptions As CrystalDecisions.Shared.ExportOptions
            Dim CrDiskFileDestinationOptions As New CrystalDecisions.Shared.DiskFileDestinationOptions
            'Set the destination path and file name
            CrDiskFileDestinationOptions.DiskFileName = strInPath
            'Set export options
            CrExportOptions = rptIn.ExportOptions
            With CrExportOptions
                'Set the destination to a disk file
                .ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile
                'Set the format
                .ExportFormatType = inFormat
                'Set the destination options to DiskFileDestinationOptions object
                .DestinationOptions = CrDiskFileDestinationOptions             
            End With
            'Export the report
            rptIn.Export()
            CrDiskFileDestinationOptions = Nothing
            CrExportOptions = Nothing
        Catch ex As Exception
            ITAXError()
            Return True
        Finally
            GC.Collect()
        End Try
    End Function
What I now need to do is do the same, but this time instead of the report being created inside the project at design time, I pass a file name to the Crystal Viewer, setting it's ReportSource and the viewer displaying the report. This means that I can't use the above function as the ReportSource is simply a file name string, whereas before I was passing in the class name that was auto-generated at design time.
What I need is for the user not to be able to click the Export button, but for them to click a button of my own design and do an export then so that I have control over where it is stored on the system, and they are shielded from any Explorer type interface.
the following code snippet is almost there:
   Dim rpt As New ReportDocument
   rpt.Load(CStr(cryViewer.ReportSource))
   rpt.SaveAs(strTempFileNameCRY, True)
   rpt.ExportToDisk(ExportFormatType.WordForWindows, strTempFileNameDoc)
The only problem is that the user may have clicked the Refresh button, and the data seen on screen may be different to what was originally generated from the .rpt, and the the above snippet is based on the .rpt.
Is there a way of exporting what we're seeing on screen without using the Crystal Viewer Export button?
Sorry for the lengthy reply, but if there is an answer, then I'd like to know it.
Many thanks for your time
Julian

Similar Messages

  • Data getting truncated while exporting report to a text file in crystal 10?

    Hi All,
    I am using crystal 10.When exporting report to a text file ,a dialog prompts asking for Character perinch with a default value 9.If I change the value from 9 to 16 i am getting the correct data(that means character per inch value is 16) and it update "CharPerInch" value in registry under following location to 16.
    HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\Export\Text
    The dialog asked for character per inch also has option to select not to prompt again and i also selected that in first go.
    When i export the report again in text format it didn't prompt for number of character per inch but the data gets truncated.
    What i believe is even though it updates entry in registry and reads, it is not using the same value for export. It never consider the value that is in registry, if the check box is not selected then it is using the value entered in the dialog and if the check box is selected then in the next run it uses the default value as 9.
    Can anyone suggest me how to override this problem ? Is there any other setting place in registry where i can enter the number of character per inch.I don't want to crystal to prompt always for character per inch.

    Hi Venkateswaran,
    The other option to avoid truncation of the data could be
    Right click the text filed
    Click on Format Text to open the Format Editor
    On Common tab check the text box for Can Grow.
    This will prevent the data from truncating in preview as well as while exporting to text.
    Otherwise you will have to set the characters per inch to 16 each time. I donu2019t see changing the registry value causing any difference here.
    Regards,
    Aditya Joshi

  • Exporting report to seperate PDF files based on a report's Groups

    Hi all,
    I have RPT files created in CR 2008 designer. My aim is to use CR.NET SDK with Visual Studio 2010 to create an application that would allow me to load these RPT file(s) to my application which then exports to PDF.
    However, the catch is that my RPT files have groupings (each group starts a new page) and I want each group to be printed into separate PDF files, with each filename being the group name.
    I have done a sample windows application with the CR viewer loading the RPT file and exporting the entire RPT output to PDF. But is there a way to iterate through the Groups in a report and print them to PDF separately?
    Any suggestions much appreciated!
    Thanks.

    Ludek,
    I am using CRVS2010.
    Using the CR designer is not efficient for me to run the report for every group and export each to PDF - this would take a lot of time for a larger report which is the reason for a programmatic solution.
    There are third party programs that achieve this. There seems to be a discrepancy if those applications can use the API to burst By Group and you mention that is cannot be done? ([example program that can do this|http://www.milletsoftware.com/Tab3.htm])
    Thanks.

  • SSRS to export report as "structured" csv file (of sorts) . . .

    I'm trying to use SQL Server Reporting Services (SQL Server 2008 R2) to produce a CSV file.  Row 1 in the CSV has to be a summary row with 8 columns.  The detail rows which follow have 24 columns.  The data in the summary row is "static"
    except for a date, a count of detail rows, and a total amount due based on the detail rows that follow.  Here's an example of what we need it to look like:
    HDR,4242,0,1,20150203,25,I,25823.18,,,,,,,,,,,,,,,,
    DTL,4242,0,1,20150203,255092,20150129,989,C,Net 0,Due Upon Receipt,12703,Some Super Customer,1001 Grandview Dr,,SomeCity,TX,US,75012,9729990000,,,,
    DTL,4242,0,1,20150203,255093,20150129,1360,C,Net 0,Due Upon Receipt,23774,Another Awesome Customer,52 Six Flags Dr,,DeepInTheHeart,TX,US,76006,8174445555,,,,
    I've been able to get the report itself to render correctly in Visual Studio or from a browser using several different approaches but they all fail in one way or another when I try to save it as a CSV (eg, a header is prepended to each detail so they end up
    side by side, header and detail end up with extra columns, etc).
    I'm clearly a far cry from an SSRS expert but this seems like it should be easy.  Can someone who
    is an SSRS expert (or at least knows more than me) give me a hint or two?  Can this even be done?
    thanks in advance for your help!

    Hi there -
    Thanks for your response.  I apologize for the delay.  I think the
    difference in your screenshot and my scenario is that I have a "header" row of sorts whereas you have no such row.  In my scenario, the first row of the CSV file must have a record type of "TRL".  This row summarizes certain elements
    of the rows to follow which are of record type "DTL".  Specifically, the TRL row, provides a total number of DTL rows in its 6th column and a total dollar amount of the DTL rows in its 8th column.  See here for an example:
    So in the report shown above, there are 177 DTL rows with a total dollar amount of $301,646.20 and it looks to be in the right format/structure.
     However, when I export it to CSV, this is what I get:
    Hopefully that demonstrates the situation but if not, let me know.
    respectfully,
    java_dude

  • How to export report output into excel file

    hi friends,
    i would like to get the solution from you for how to export the report output into a .xls file. i know how to convert it into .rtf and .txt files but i think it's difficult to do this .xls way, could you help me to comeover this problem?
    thankyou very much.

    The official answer is "delimited", which
    generates adequate comma or other delimited
    text. No formatting, and without extra
    effort no support for non-ASCII characters.
    Might be sufficient for you.
    Note that Excel can read html files - we
    built programs to generate html files with
    name of "blah.xls" and some Excel-ish
    extensions, so Excel is automatically opened
    and the document is all nice and pretty.
    (Oracle html output has some odd logic about
    choosing number of columns, we didn't use
    it.)
    -- Allan Plum

  • Unable to export report to a legasy file in a particular format

    Hi All,
    I use to export a report to MS Excel. Hence, I had selected it as a default format. However, when I try to export the same report in some other format now then the system is not showing me that option.
    The reason is that, when we select "ShiftCtrlF7" system pop up a window where we can select the options. There are three radio buttons, first two for a particular format and the last one provides us with all the available options. Below that radio button, there is a check box, which allows the selectes format to be a default format.
    Once we check that box to make a particular format a default, then on the subsequent export the system does not prompt that selection window but directly pop-up the save window.
    Now I want to uncheck that checkbox so that I can select other file formats also but not able to do it as the system is not poping-up that selection window.
    Any help on this would be highly appreciated.
    Regards,
    Saurabh

    Hi,
    There are 2 options for you:
    1. Simply right-click in the ALV list somewhere (on a data line)
        The last option in the popup menu is "Spreadsheet" - click , and you'll find the
        file format selection window
    2. Administer this functinality for your user.
        execute program: SALV_BS_ADMIN_MAINTAIN via SE38
        and delete the settings for your userid.
    BR,
    Barna

  • Error when exporting reports using MAPI

    We created a .NET class that wraps CR 2010 .NET Crystal Reports functions and made it COM visible. This class is used to create a COM object in a js script which in turn used to export reports to a PDF file with the destination MAPI.
    It exports reports just fine without any errors however if prior to instantiation the exporting class we instantiate a class that has nothing to do with the Crystal Reports functions, our exporting object throws u201CExternal component has thrown an exception.u201D error when exporting. It appears that it has something to do with the SideBySide feature. I was wondering if somebody knows what causes this and if there is a way to fix this problem.
    Thanks for your help!
    <br>
    <br>
    Below are 2 procmon.exe outputs, the first when exporting works and the second when it doesnu2019t
    <br>
    <br>
    <br>
    1) Procmon.exe output when exporting works fine
    <br>
    <br>
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\CommonFilesDir     SUCCESS     Type: REG_SZ, Length: 72, Data: C:\Program Files (x86)\Common Files
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>7:16:30.7403615 AM     test.exe     4396     FASTIO_QUERY_INFORMATION     C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     FILE LOCKED WITH ONLY READERS     SyncType: SyncTypeCreateSection, PageProtection:
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     SyncType: SyncTypeOther
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Image Base: 0x79260000, Image Size: 0x1073000
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryNameInformationFile, Name: \Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide\PreferExternalManifest     NAME NOT FOUND     Length: 20
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>
    <br>
    <br>//////////////////////////////////////////////////////////////////////
    <br>2) Procmon.exe output when exporting doesnu2019t work, notice that it tries to open MSO.dll at the same location as in the output above but fails, it tries then to open it at several other locations and fails
    <br>
    <br>
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\CommonFilesDir     SUCCESS     Type: REG_SZ, Length: 72, Data: C:\Program Files (x86)\Common Files
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     FILE LOCKED WITH ONLY READERS     SyncType: SyncTypeCreateSection, PageProtection:
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     SyncType: SyncTypeOther
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Users\Paul\projects\temp\test\Debug\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Users\Paul\projects\temp\test\Debug\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Program Files (x86)\Microsoft Office\Office12\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Microsoft Office\Office12\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\SysWOW64\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\SysWOW64\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\system\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\system\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

    I tried to run exporting code in a .net application and got the same error. I first created the COM object that causes the problem and then ran exporting CR functions. It works fine if I run the code without creating the COM object.
    Below is the code I used.
                Type objClassType = Type.GetTypeFromProgID("ebms.main");
                object objMain = Activator.CreateInstance(objClassType);
                try
                    object[] p = new object[4];
                    p[0] = "C:\\ebms\\co1";
                    p[1] = "C:\\ebms\\co1";
                    p[2] = "Administrator";
                    p[3] = "";
                    objClassType.InvokeMember("LoginToCompany", System.Reflection.BindingFlags.InvokeMethod, null, objMain, p);
                catch (Exception ex)
                this.RPTDoc = new ReportDocument();
                this.RPTDoc.Load(@"C:\\Users\\Paul\\Desktop\\AR Customer List.rpt");
                PdfRtfWordFormatOptions pdfOpts = ExportOptions.CreatePdfRtfWordFormatOptions();
                MicrosoftMailDestinationOptions mailOpts = ExportOptions.CreateMicrosoftMailDestinationOptions();
                ExportOptions exportOpts = new ExportOptions();
                pdfOpts.UsePageRange = false;
                exportOpts.ExportFormatOptions = pdfOpts;
                mailOpts.MailMessage = "something";
                mailOpts.MailSubject = "something";
                mailOpts.MailToList = "emailaddress";
                exportOpts.ExportDestinationOptions = mailOpts;
                exportOpts.ExportDestinationType = ExportDestinationType.MicrosoftMail;
                exportOpts.ExportFormatType = ExportFormatType.PortableDocFormat;
                try
                    this.RPTDoc.Export(exportOpts);
                catch (Exception ex)
                    MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);

  • Exporting Report definitions/source codes

    Hi gyus,
    I'm looking for a software or tool or an algorithm which I could use to export all the Report definitions and search in them. Especially I mean source codes of formulas and section-conditions. My "heritage" is a huge chaotic report and often I need to look for a specific thing which may be contained in any formula source code, any suppress condition, anywhere...
    I know of .rpt Inspector, which is unfortunately too expensive for me ($400).
    I know of the CR XI ability to export Report definitions to .txt files. But they aren't complete since they contain only condition source codes (those ones you type in via section expert), and I miss the formula source codes.
    Thank you so much in advance for any help or tip
    Regards
    Martin F.

    Hi, I do know about this feature. unfortunately, the resulting exported file doesn't contain complete report definition info. Especially formulas' source codes. So I can't search (CTRL+F) within these parts of source code.

  • Export Reports (PDF,RTF,Excel,Word)

    i am having difficulty setting up reports 6i to export in different formats. does anyone have experience in exporting reports either to a file server or e-mail in different formats.
    thank you,
    randall timmerman

    Hi Alisa,
    unfortunately changing option re. compatibility view does not help either. Checked or unchecked I still have the same. Re. Power view browser support I would understand this for excel and word, but why pdf does not work? Version of sql server is "Microsoft
    SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64)   Jun 28 2012 08:36:30   Copyright (c) Microsoft Corporation  Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) ". I saw some people recommend RsClientPrint
    to be R2/SP2 version 10.50.4000. So I have this.
    At the end I can force users to use Mozzila Firefox or Google Chrome, but I would like to know or find the reason that this Microsoft product does not work welll with Microsoft IE.
    I am attaching screen shot of popup I have got before my IE starts "hanging"
    In header on clicking to export to pdf i have following address
    http://localhost:51623/Reserved.ReportViewerWebControl.axd?Culture=1033&CultureOverrides=True&UICulture=9&UICultureOverrides=True&ReportStack=1&ControlID=e1713cc4e4064c6f99208bac1a4f53bd&Mode=true&OpType=Export&FileName=MyReportName0107&ContentDisposition=OnlyHtmlInline&Format=PDF

  • Reports - Image resolution : How to minimize file size of exported report?

    Our reports are currently using high quality images which makes the file size bigger. Is there any way to reduce the exported report's file size?
    Please provide us the way to use lower quality images in reports to minimize the file size.
    NOTE: In these reports we are embedding the images (with ".jpg" format) programatically at runtime. Also we are using Crystal Reports XI (Product Version 11.5.0.313) with .Net 1.1 framework.

    Using an image program like Photoshop or Paint Shop Pro you need to reduce the number of colors and DPI while maintaining as much of the clarity as possible.
    Here's what steps will help.
    Open the image you want to change.
    Check the 'Count of Colors used' in the tool you're using.  If more than 256 (8 bit) you'll not be able to do much to reduce colors, but most likely the image has a palette of 17.6 million colors (24 bit)
    If a color image, try reducing to 8bit, 10bit or 12bit.  If a b&w change it to grey scale and reduce.  Some forms can be reduced to 16 (4 bit).
    Next, check the DPI, usually in the 'image information' tool.  If it's more than 200 try reducing to 200.
    Save the image in BMP format with RLE compress if possible.  Look at it in the image tool to see if it has held up.
    We recently pulled 11 pages from a PDF to PNG, changed them to greyscale BMP at 4bit 200DPI and it reduced the RPT file size from 317000k to 2000k.

  • Export Report to flat file with spaces

    I have a report that is several columns wide. It queries data from our SQL based accounting package to create a flat file with spaces(must be accurate). When we go export the file we don't get all of the columns. Any ideas?

    Hi,
    Are you exporting to CSV or Excel File?
    Export to Excel.
    Bashir Awan

  • Need Help: Could WEBI report directly based on EXCEL file be refreshed?

    In 3.0, Could WEBI reports directly based on EXCEL file be refreshed, after exporting to BOE platform?
    I've made a test on that and find out WEBI report could not be freshed in Infoview while DESKI report could.
    Some colleague suggest me to build the WEBI report based on a Universe created based on the EXCEL file.
    I want to confirm, is it a by-design that we could only refresh WEBI report based on universe? or I could do some setting to made the refreshment of WEBI based directly on EXCEL file works?
    Please Help!! Thanks a lot~~~

    Hi Rachel,
    You could try the Rich Client Product Guide [http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_web_intelligence_rich_client_en.pdf] but I don't think it is a problem...more like a feature by design - it makes sense.
    You could try the route of creating a universe on top of excel... See posts
    [DBMS Independent universe;
    [how to connect to excel sheet and create a universe on top of that;
    Hope this helps
    Jacques

  • Problem while exporting the data from a report to an excel file.

    Hi SAP guru's,
    I have a problem while exporting the data from a report to an excel file.
    The problem is that after exporting, the excel file seems to have some irrelevant characters....I am checking this using SOST transaction..
    Required text (Russian):
    Операции по счету                                    
    № документа     Тип документа     № учетной записи     Дата документа     Валюта     Сумма, вкл. НДС     Срок оплаты     Описание документа
    Current Text :
       ? 5 @ 0 F 8 8  ? >  A G 5 B C                                   
    !   4 > : C       "" 8 ?  4 > : C      !   C G 5 B = > 9  7 0 ? 8 A 8        0 B 0  4 > : C         0 ; N B 0      ! C <       ! @ > :  > ? ; 0 B K        ? 8 A 0 = 8 5  4 > : C
    Can you help me making configuration settings if any?
    Regards,
    Avinash Raju

    Hi Avinash
    To download  such characteres you need to adjust code page to be used during export. You can review SAP note 73606 to identify which code page is required for this language
    Best regards

  • Exporting a Report to a pdf file with drill down!

    Hi,
    I would like to export a Report to a pdf file.
    My Report includes drill down options. I require the exported pdf with drill down options.
    (Similar to Navigation options in a PDF file).
    I hope this makes sense.
    Please provide a better solution for me.
    If am not wrong, this facility is not available with Crystal Reports!!!
    Thanks,
    Ramesh.

    Hi Ramesh
    You can download the trial versions of the Crystal Report from the following link:
    https://websmp202.sap-ag.de/support (Please copy the link and paste it to your web browser).
    You can get the license by putting a request in the follwoing link:
    https://websmp202.sap-ag.de/support(Click on Request License key under Service Corner).
    Hope it helps.
    Regards
    Sourashree Ghosh

  • Is it possible to export the page activity report to a pdf file?

    Is it possible to export the page activity report to a pdf file?and is there any api or samples to be reference

    Do you mean audit history?   One method would be similar to the following sample that you could extend to create a PDF from the data returned:
    http://www.eyelock.net/blog/archives/533
    BUT the method used above via JCR Query is an implementation detail.  For future proofing, you should use the ReplicationStatus status = page.adaptTo(ReplicationStatus.class in your code to get the audit logs for a particular page, rather than a straight JCR query. (recommended by Jörg Hoh @ http://forums.adobe.com/message/5253760).

Maybe you are looking for