Report - Export issue on some url a href, bad displayed

Hello,
My URL link set-up are because are set as formula, because I'm launching the report viewer from a JAVA apps in Internet Explorer
"<a href='"{?MatrixJPO - Parameter 1 (String)} + "/common/emxTree.jsp?objectId=" +{MatrixJPO.ECO_id} "' title=" "Open ECO:" {MatrixJPO.ECO_name}" target='_blank'>"{MatrixJPO.ECO_name}"</a>+
My issue is that in PDF or XLS or CSV this field is paste as is?
  - Is it possible to set-up a conversion for Export ?
Thanks in advance
Alex

Hi,
Instead of inserting anchor tag (<a></a>) try this
insert a textobject and edit it then drag the field {MatrixJPO.ECO_name} in the text object and right click on the text object and go to format Text and select the Hyperlink Tab and check the option "A Website on the internet" and click on X+2 and write the url in "".
Hope this helps!
Raghavendra

Similar Messages

  • Reporting Export Issue from Taleo

    Can anyone help?  We have a work around for the Exporting Issues into Excel 2010 regarding figures and dates only reading as text, however, a new issue has arisen.   In one field we have Aggregated Agencies assigned to any particular Job Code.   In the legacy reports, every agency name exported into one cell in Excel, now they export into individual rows, this causes a report to be too long and there is no way to amalgamate them into one cell.    Has anyone found a workaround for this?

    is there someway that it was reformatted by the Iomega drive being daisy chained to it?
    No. That is not possible -anyway, reformatting erases everything on a drive.
    You would have noticed that first.
    You can download the [NTFS-3G driver|http://macntfs-3g.blogspot.com> which will let you read, write and even reformat the clients drive as NTFS on the Mac. All reasonably modern Windows PCs work with this disc format and you won't run into the file size limitations associated with FAT formatted drives.

  • Can anyone tell me whats going on? Crystal Report Exporting issue

    Hi,
    I am having a issue with the way that CR exports a report. It was working GREAT until we restarted our server. At which point a 2 page CR exported to a PDF began to display enlarged and over 21 pages. The code never changed and if exporting from the VS CR tool it previews and exports perfectly. Can anyone tell me whats going on? Could a install of Acrobat Reader 8 caused this? or anything else for that matter? Any thoughts would be a great help cause it might help me think of something I have over looked.
    Thanks
    Jeremy

    it would not be install of Adobe that would cause this, however a changed printer driver may. Has the printer driver changed? Do you see any difference on the rpeort if you set the option "No Printer? (File menu, select Page setup).
    When you say the report is now 21 pages, do you mean it has more data? Or has the format changed such that it is 21 pages long. The latter would again point to printer driver...

  • Issue with SSRS Report Exporting to Excel and word

    Hi,
    When report is exporting in word and Excel getting format issue, but same report export with pdf there is  no issue.
    Regards,
    Afroz

    You need to be always careful when export format is Word and specially Excel. Sometimes report result looks good in Report Viewer and PDF too, but it may not in MS Word and MS Excel.
    You need to understand Word and Excel limitations and align all the data regions (Tablix, Rectangles, Texboxes) in correct way.
    Also, you may post the actual formatting issue that you get. (With screenshot if possible)
    Please read Limitation section in below:
    Exporting to Microsoft Word
    Exporting to Microsoft Excel
    Refer:
    Ten Common SQL Server Reporting Services Challenges and Solutions
    -Vaibhav Chaudhari

  • Crystal Reports Excel Export Issue - page footer not being displayed

    We recently converted all Crystal Reports from Visual Studio 2003 to Visual Studio 2005 sp1, .NET 2.0, Crystal Reports for .NET.  I have the latest merge modules from business objects.  All reports & footers worked fine in VS2003 ... but now when I export to PortableDocumentFormat (PDF) or WordForWindows (DOC) the page footers appear correctly.  But, when I export to Excel (XLS) like the code below, the page footers do not appear.  We need to place a disclaimer at the bottom of every page of an exported excel document.  I checked the print preview, and I tested printing the document ... the the footer is not being utilized properly by the Crystal Reports export.
    System.IO.MemoryStream oStream = new System.IO.MemoryStream() ;
    oStream = (System.IO.MemoryStream) report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.Excel) ;
    Response.Clear() ;
    Response.Buffer = true ;
    Response.ContentType = "application/vnd.ms-excel" ;
    Response.BinaryWrite(oStream.ToArray()) ;
    Response.End();
    I have asked the question in msdn forum
    http://forums.msdn.microsoft.com/en-US/vsreportcontrols/thread/0ead9e34-bc45-4062-90dd-17f8f8ebf062

    fyi - if i hadn't mentioned it, problem occurs in all our environments (developer workstation, development server, testing server, production server, etc.)
    on my development workstation i found the file 3 times
    c:\program files\common files\business objects\1.0\bin\crxf_xls.dll
    has file version 9.1.1.557
    c:\program files\common files\business objects\2.7\bin\crxf_xls.dll
    has file version 10.2.0.1093
    c:\program files\common files\business objects\3.0\bin\crxf_xls.dll
    has file version 11.0.0.1937
    on my development server (and our other environment servers too)
    c:\program files\common files\business objects\2.7\bin\crxf_xls.dll
    has file version 10.2.0.1210
    so just from that i notice that the file versions in the 2.7 bin are different from my developer workstation to my development server ... but the issue still occurs in both places.

  • Web report Export to Excel Issue

    Hi,
    I've tried to look at one of the issues already logged about the Export to Excel functionality and I was not able to find a solution to my problem.
    In my organization we are using BW 3.5. And when I run a web report, and try to export to excel a 15000 line report, I'm always getting only the first 400 or 500 rows. If I go to the last line and try to do the same, I will then get the full report exported to excel.
    Any idea why this is happening?
    Thanks,
    JS

    Try to run the report using the 0ANALYZER template and see whether you can replicate the issue.  If the behavior is same with 0ANALYZER then it will be a issue with SAP code.

  • XI R2 To 3.1 Sp2 migration and report format issues

    Hello,
    is there a way to fix or troubleshoot report format issues after migrating to 3.1?
    We have a heavy report that the format (the way the report looks) is very important. In crytal Reports 2008 sp2 the format is OK.
    But from BOE CMC or from url reporting the report format have problems.
    Thank you
    Edited by: RUHVER BARENGI on May 18, 2010 9:47 AM
    Edited by: RUHVER BARENGI on May 18, 2010 9:48 AM

    Hi Ruhver,
    Crystal Report documents are heavily dependant on the printer driver for formatting.  If you design the report using a specific default driver than it will be dependant on that printer driver for formatting.  When you publish it to Enterprise, the same printer driver may not exist so the report will be re-formated to fit the default driver on the server, or if no driver exists, it will use an internal method to format the report. 
    Try this as a test.
    1) Open your report in the CR 2008 designer.
    2) Click on the File/Page Setup. 
    3) Select the "No Printer" option.  This tells the report to use this internal method to format the report
    4) Save this document as "Title - No Printer"
    5) Export it to Enterprise
    6) Test this report again.  Formatting should be identical in BOE vs CR.
    Keep in mind that when you change the driver in step 3, the report in the designer will re-format.  You may need to tweak the report again in order for the formatting to be as desired.
    Test this out and if you require further assistance with this, I would suggest opening a message.  This is a common issue and a support engineer could likely help you with this pretty easily.
    Hope this helps,
    Jb

  • Report exported into excel contains garbage character but is good in PDF

    Issue
    Report exported via CrystalReportViewer (integrated via JSP) into Excel or Word format contains garbage characters.
    Based on investigation, following observation was gathered:
    1. CrystalReportViewer, PDF - Good
    2. CrystalReportViewer, Excel - Bad
    3. CrystalReportViewer, Others - Bad
    4. InfoViewer, PDF - Good
    5. InfoViewer, Excel - Good
    6. InfoViewer, Others - Good
    Software (Platform): BEA WebLogic Server (AIX/Windows) - Crystal Report Server (Windows)
    Appreciate if anyone could provide any clue which part in the integration could have gone wrong.
    Thank you.

    Another way that might work is to remove all extra characters and whitespace outside of the <% %> tags from the jsp page that contains the viewer.
    e.g.
    Not Correct
    <% some code %>
    <% some more code %>
    Correct
    <% some code %><% some more code %>
    (Line feeds and whitespace count too)
    Also - see this kbase article:
    http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=4595908&sliceId=&dialogID=17986169&stateId=1%200%2017984767
    a programmer learning programming from perl is like a chemisty student learning the definition of "exothermic" with dynamite

  • Access Report exporting to Excel Horizontally

    I've got a rather large report in Access, based on a couple of forms.
    When i preview it looks fine, Textboxes are all in order with the make and model then the data in text boxes in a column below.
    There are 7 columns of text boxes like this.
    When I export to a PDF, it's in the right format, 7 columns next to each other.
    When I export to Word and even a text file it works fine.
    When I export to Excel, they all go horizontal...textbox name in row 1 and all the data in row 2, clear to column IV and that's it.
    What am I doing wrong?
    Thank you for any help.
    Gee

    Hi Gee,
    According to the desription, when the report exported to Excel, the layout is incorrect.
    Based on my test, the Access doesn't export the textbox into Excel, it just export the data in the report. Here are the test steps for your reference:
    1. Create a table with some fields in Access 2013
    2. Create a reprot based on the table by default
    3. Export the report to Excel by External data->Export->Excel
    Did I misunderstood? Also a demo database to help us reproduce this issue is much appreciate.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Extraneous html included in Report Export (csv) for Version 3.1

    Hi, I'm not hopeful of anyone being able to resolve my problem, as none of my colleagues are experiencing it, which occurs in my application for all new reports that I have created since the upgrade to 3.1 (from 3.0).
    I have many existing reports which utilise the Report Export facility and they still work as they should. However, for any new report created after the upgrade, the file created contains an html tag:
    At the top of the first column: div id="report_1562114506105406_catch"
    with the corresponding tag at the bottom of the column /div
    Initially, I thought that the complexity of the report might have been relevant, but not at all. I have added report regions to existing pages with an SQL query of SELECT sysdate FROM dual
    I deleted and restored an earlier version of the application, but the problem recurred. As I said, my colleagues cannot reproduce the issue (happily - for them!) and neither could I when I created a new application (using the same theme - Blue and Tan), but I still experienced the problem with my application working at a colleague's PC. Also, if I activate the Report Export for an existing report, the file created is fine, which seems to indicate the problem relates to the report creation rather than the Report Export facility.
    Any suggestions gratefully received,
    David

    Additional info
    Where previously I thought that the number included in the "_reportnnnnnnnnnnnnnnnn_catch" was randomly generated, I have now found out that it is actually specified within the "Print URL" on the Print Attributes tab.
    This doesn't seem to be any different to the other reports (that were created before the upgrade), but of course until now I had no reason to view the Print Attributes tab, so was unaware of this.

  • Expense Report Export Program keeps on running normally for hours

    Hi and assalam o alay kum Gurus
    I am facing a problem in creating of invoice through expense report export program, I create expense report and run the program "Expense Report Export" but the issue is the program keeps on running for several hours we also raised SR for this issue but no solution provided after 6 months.
    We are currently on R 12.1.2 can any one please guide me what to do, maybe any some one faced the same issue before, I really need your help just to check whether I missed any setup part or this is some kind of bug.
    Best Regards
    Danish.

    Did you ever find a solution to this question? My internet expense templates are set to receipts are required for CASH and CREDIT CARD over a certain amount. Also, internet expense setup and admin is set to place the report on hold if receipt has not been received. I ran the Expense Report Export and they imported even though receipts were not received. Thank you.

  • Bi Dashboards issue works properly some times and after not display pointers data and give un expected error and throw login window

    HI,
    I have toff situation where  we deployed bi dashboards in our site and it works some time and some times not,
    and some times it keep loading and throw a login window.
    works when
    we restart performance point service  and if not work
    we re create secure store service and generated new key and create new pps service application
    before that we stopped secure store and pps service  using c.a in application server
    we are using ssas for datasource to connect  from dashboard designer
    we have seperate server for ssas dbs
    seperate application server running: pps service and secure store service
    two web front ends:  one of running secure store
    1 Domain controller + central admin service running
    some times after 4 -5 hours bi dashboards works , we dashboards not display data and throw un expected errors,
    also when we try to connect using a dashboard designer from a seperate client machine in same domain ,we have same issue , we unable to connect to ssas datasource server, and if connect some times unable to deploy dashboards.
    we tried every thin icreased server time out values  in ssas server
    :\Program Files\Microsoft SQL Server\MSAS10_50.MSSQLSERVER\OLAP\Config\msmdsrv.ini. in this location
    and in 
    c:\program files\common files\microsoft shared\web server extensions\14\webclients\ppsmonitoringServer\client.config
    maxStringContentLength="2147483647"
    maxNameTableCharCount="2147483647"
    maxBytesPerRead="2147483647"
    maxArrayLength="2147483647"
    maxDepth="2147483647" />
    even we have same issue
    is some thing happening when dashboards working some time and  after some time not 
    is a secure store crashing or its still request pending in IIS and not authenticating to data soruce why 
    below are the logs
    Here are the results of the log analysis :
    server wfe1 
    09/01/2014 14:43:44.66 w3wp.exe (0x2128) 0x158C PerformancePoint Service PerformancePoint Services 39 Critical A PerformancePoint service application call was aborted by the caller.  This may indicate the HttpRuntime executionTimeout for the Web Application
    is configured to a value smaller than the DataSourceQueryTimeout for the PerformancePoint Service Application. 8bc44f14-acef-49bf-b1c1-2755ea7e6e24
    09/01/2014 14:43:44.66 w3wp.exe (0x2128) 0x158C PerformancePoint Service PerformancePoint Services ef8z Critical ‏‏حدث
    استثناء
    أثناء عرض
    عنصر ويب.
    قد تساعد
    معلومات التشخيص
    التالية في
    تحديد سبب
    هذه المشكلة:  Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.  ‏‏رمز
    خطأ "خدمات PerformancePoint"
    هو 20700. 8bc44f14-acef-49bf-b1c1-2755ea7e6e24
    09/01/2014 14:43:44.66 w3wp.exe (0x2128) 0x158C SharePoint Foundation Runtime ba3q Medium Redirect to error.aspx?ErrorText=Request%20timed%20out%2E failed. Exception: System.Web.HttpException: The remote host closed the connection. The error code is 0x800704CD.    
    at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)     at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()     at System.Web.HttpResponse.Flush(Boolean finalFlush)    
    at System.Web.HttpResponse.End()     at Microsoft.SharePoint.Utilities.SPUtility.Redirect(String url, SPRedirectFlags flags, HttpContext context, String queryString) 8bc44f14-acef-49bf-b1c1-2755ea7e6e24
    09/01/2014 14:47:32.69 w3wp.exe (0x2128) 0x2154 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 78c107cd-0d4b-46f5-8e1a-0d9b4ebc7b29
    09/01/2014 15:07:40.74 w3wp.exe (0x2128) 0x209C PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Notary/Rspointer/Lists/PerformancePoint Content/28_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) abf0263d-7333-4e4f-9cd4-a3a4dcb700c0
    09/01/2014 15:13:25.92 w3wp.exe (0x2128) 0x18DC PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Notary/Rspointer/Lists/PerformancePoint Content/218_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) b35bf864-54f4-43fa-88a8-44cdf938bfa2
    09/01/2014 15:11:10.87 w3wp.exe (0x2128) 0x1F88 PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Courts/Bic/Lists/PerformancePoint Content/4_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) 7cea0eb6-214f-4d7b-a6e7-97a0fe11c956
    09/01/2014 15:11:40.87 w3wp.exe (0x2128) 0x2150 PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Notary/Rspointer/Lists/PerformancePoint Content/162_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) 4154222b-6ff0-4b64-81b8-d08501a19278
    server wfe 2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    In the Roiscan logs we get an error in regards to the English Language pack:
    Review Items
    ============
    Error:                       Product {90140000-1015-0409-1000-0000000FF1CE} - Microsoft SharePoint Foundation 2010 1033 Lang Pack:  has unexpected
    file state(s).
    adil

    chinnijagadeesh,
    You suck!
    Signed: The rest of the universe.
    ... and quit crossposting FFS... it really is quite annoying!

  • PDF Format Oracle Reports font issue

    My process is generating the batch oracle Reports.
    Their key map is:
    Key1: %* server=server1 userid=xxxs/xxx@xxxx report=D:\sample.rdf destype=file desformat=PDF
    My process is calling IAS server to generate report. IAS ser is generating and saving the report in the specified location.Reports are running on the server locally and DESTYPE=FILE. So the Oracle Reports output is saved on the server itself. Whenever i open the report on my machine/server i have font issue. Some of the reports has very tiny font. It seems the reports generated by using oracle reports which is Arial Unicode font type is causing the problem. If any reports other then Arial Unicode font like Arial Westrn, those reports are fine. We have 1000s of reports. So we don't want to change each report font type. For me it seems the issue is with the font on the server. Is there anyway to ask App server use Arial Westrn if Arial Unicode not found. How to make these configuration changes in the server. Any suggestions please.

    Maybe this helps or at least points you in some direction ...
    Have a look at font aliasing when configuring Application Server : http://download.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_font.htm#i1006140
    If your Application Server is located on Windows I would suggest to install the fonts there.
    In Unix, this a more complex task.

  • Hi Expert , crystal report export problem. system not responding

    Hi,
    crystal report export problem. system not responding.
    Thanks
    Rajkumar Gupta

    Dear Raj,
    Please try this
              Try
                Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
                Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
                Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
                Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
                Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDoc.Load(rptPath)
                rptView.ShowExportButton = True
                rptView.ReportSource = rptDoc
                For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                    oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                Next
                For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
                    For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
                        If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
                            oSubReport = rptObject
                            rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
                            For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
                                oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                            Next
                        End If
                    Next
                Next
                'Setting Paper
                Dim rawKind As Integer = 0
                Dim printSet As New System.Drawing.Printing.PrinterSettings
                For i As Integer = 0 To printSet.PaperSizes.Count - 1
                    If printSet.PaperSizes.Item(i).PaperName.ToUpper = PaperName.ToUpper Then
                        rawKind = CInt(printSet.PaperSizes.Item(i).RawKind)
                        Exit For
                    End If
                Next
                Dim MyTest As New SaveFileDialog
                rptDoc.PrintOptions.PaperSize = CType(rawKind, CrystalDecisions.Shared.PaperSize)
                rptDoc.ExportToStream(ExportFormatType.Excel)
                'rptDoc.SaveAs("C:\TBKING.xls", True)
                '''How to export the report
                Try
                    Dim CrExportOptions As ExportOptions
                    Dim CrDiskFileDestinationOptions As New _
                    DiskFileDestinationOptions()
                    Dim rename As String
                    rename = rptName.Replace(".rpt", "")
                    Dim CrFormatTypeOptions As New ExcelFormatOptions
                    CrDiskFileDestinationOptions.DiskFileName = _
                                                "c:\Report\" & rename & "_Export_File.xls"
                    CrExportOptions = rptDoc.ExportOptions
                    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = ExportFormatType.Excel
                        .DestinationOptions = CrDiskFileDestinationOptions
                        .FormatOptions = CrFormatTypeOptions
                    End With
                    rptDoc.Export()
                Catch ex As Exception
                    MsgBox(ex.ToString)
                End Try
                '' end by kevin shah
                rptView.Show()
                rptView.ShowExportButton = True
                Dim oFrm As New System.Windows.Forms.Form
                rptView.DisplayGroupTree = True
                rptView.Dock = System.Windows.Forms.DockStyle.Fill
                rptView.Location = New System.Drawing.Point(0, 0)
                oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
                oFrm.Controls.Add(rptView)
                oFrm.Name = "Report Viewer"
                oFrm.Text = "Report Viewer11"
                oFrm.ResumeLayout(True)
                oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
                oFrm.TopMost = True
                oFrm.ShowDialog()
            Catch ex As Exception
                objMain.objApplication.MessageBox(ex.Message)
            End Try
    By pressing this button XLS file be generated on C:\report\
    Hope this will resolved the issue
    Thanks
    Kevin

  • Apex 4.0.1 classic report export

    Hello once again all you Application Express experts.
    I am having some difficulty getting an apex classic report to export the results of the report grid.
    This is a classic report being run, not interactive.
    It is also as an SQL Query (PL/SQL function body returning sql query) for the report identification type.
    The function body is of decent size, maybe 200 lines at most, but i have narrowed it down a couple of problematic lines.
    The report runs perfectly when I take out the follow line from the function...
    v_return := v_return || 'AND instr('':'' || ''' || :p3_status || ''' || '':'','':'' || xel.employment_status || '':'') > 0 ';
    So :p3_status is a checkbox item on the page, with three options: Active, Terminated, Retired.
    In the repeatable failure scenario :p3_status = 'Active'.
    One of the interesting parts is the report grid always returns the right results to the screen, it is just the report export that fails.
    It never errors, it just returns a no data response to the file being exported.
    This is Application Express v 4.0.1 running on Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit.
    Any thoughts or any troubleshooting hints anyone can provide?
    Thanks,
    Hayden

    Hayden,
    Why do u need to append the item value in the PLSQL function body when apex will take of that(using its bind value).
    Your predicate is actually a static one since only the item value changes (and that can be handled by its bind value). So avoid concatenating it in the function body to build the clause(which has the additional problem of passing in the item value to the function)
    Change it to
    v_return := v_return || q'!AND INSTR(':'||:p3_status||':',xel.employment_status) > 0!';
    Notice that the :p3_status item evaluation happens only in the apex page
    Also making use of the q function to escape quotes, it makes life much more easier in these cases.

Maybe you are looking for

  • How can I switch off the automatic window size and set the size of the window manually

    I need to open the web-page in a window of a certain size. The javascript function window.resizeTo (w, h) does not work. If I open the window using the window.open ("", "", "width: w, height: h, ..."), there is another problem. The hyperlinks that ha

  • Authorization tag in  http header

    While making an end point call using the webservice control the authorization tag is getting added to the http header. This is causing 401 errors when going over SSL . We are adding the credentials as part of the SOAP header. Why / How is the Authori

  • CM21 - strategy set up for special dispatching features

    Hello experts, I want to set up a strategy for following case: If the result of dispaching an operation is that the scheduled start date of the operation is earlier than the basic start date of the order - the dispatching has to be canceled, but if a

  • Data center design! What is ACE

    Hi Everyone, We are planning to have a datacenter. decided to buy 2 core 6500 series switches. what exactly is ACE? i understand it does loadbalancing. but then why wd not one use CSS instead on ACE. if we use ACE , can we eliminate the need of FWSM

  • I want to eliminate leading zeros in a script

    Hi Friends, Pls guide me  iwant to eliminate the leading zeros in scipt  output pls guide me. Regards Jagadeeshwar.B Edited by: Alvaro Tejada Galindo on Jun 12, 2008 5:24 PM