Export to Excel - currency problem

Post Author: bontempi
CA Forum: Exporting
I'm using Crystal Reports 8.5 with Visual Basic 6.  If I export to Excel using either the built in button on the report viewer toolbar, or using the Export function then any £ symbols are changed to $ symbols.  Regional settings are set to UK and this occurs on a variety of platforms (Windows 2000, Windows XP).Any ideas how to prevent the Export function from transposing the currency symbol in this way?

Post Author: synapsevampire
CA Forum: Exporting
You can use brute force.
Create a display formula of:
replace(totext({table.field}),"$","£")
Now use this formula instead of the database field for display purposes.
Fugly, but functional.
-kai

Similar Messages

  • Export to Excel - Macro problems

    I have moved this to the Discoverer forum. Exporting to Excel - Macro Problems
    Message was edited by:
    user385142

    Hello Denes.
    Excuse me for send you a message in this way , but I dont find other way to contact with you.
    Im using the export_excel_pkg, and really it work good.
    I have only one problem, I tell you.
    When, in one item, data is very long and numeric, by example a EAN code, without any class of format, by default it give me the value ###, Im studing the package and trying to resolve this, but if you can send me any idea it can help me a lot.
    Thanks in advanced.
    You are doing a great work for us.

  • Export to Excel encoding problem

    I am using SQL Developer 1.1 Patch 1 (1.1.1.25) on Windows 2000 with Oracle 10g (on Linux).
    The database has NLS_CHARACTERSET EL8ISO8859P7
    (to support Greek characters)
    Although in SQL Developer the greek characters are displayed correctly in the Results and Script Output panes, when I export the results to Excel, the Greek characters are displayed as squares and other symbols:
    Example:
    The text: ΣΤΕΓΑΣΤΙΚΑ ΔΑΝΕΙΑ
    appears in Excel as: £¤•“‘£¤™š‘ ”‘•™‘
    (The version of the Excel I use is Microsoft Excel 2000)
    I have tried many different encodings (from Tools > Preferences > Environment > Encoding) such as cp1253, ISO-8959-7, utf-8, utf-16 but the result is always the same.
    The export as CSV has no problem with the greek characters.
    I also noticed that the changes to the encoding in Export Data > Export File Chooser seem to be lost (if I change it and then reselect Browse... to check it, the default from preferences is shown again).
    I also have the problem mentioned in another post, that when I export data to clipboard and do paste to Excel, a value such as java.io.BufferedOutputStream@8ff9a7 is only pasted.

    Hi!
    I am somewhat confused as to "the next release". I am exporting to excel from a portlet in a portal page and during the export process, characters that look like boxes are displayed in the title bar on the message dialog box that pops up. For me this is just a cosmetic porblem since all of my data exports exactly as it should, but the export process does not look clean when the little boxes are displayed. So I am interested in the release you are referencing and when it will be available. I am using Portal Reports Oracle 10g on Unix.

  • Export into excel character problem

    Hi
    When I export the sql output into excel, some characters are invalid in the excel,How can I prevent this.

    when I export directly into txt file, there is no problem.But when I export into excel file national characters are not shown.
    The excel is in my language.

  • Exporting to Excel - Macro Problems

    For reasons unknown to us, when we export our crosstab reports from Discoverer 4i to Excel(2000 or 2003), we are getting a dialog message box warning us of the following, "The document you are opening contains macros. Some macros may contain harmful viruses. If you are sure this document is from a trusted source, Click Yes. If you are not sure and want to prevent any macros from running, click No." If we click Yes, then it will download two sheets, the first complete with drop down boxes etc and the second sheet just contains the regular crosstab report that we used to get but with formatting included, aka grey shaded columns etc. We checked the ExcelExportWithMacros pref and it is set to 0, the macro security on Excel is set to medium.
    Any ideas would be welcome.
    Thank you

    The macro warning is something that's well known when exporting to Excel. Just for grins, try putting your security at low to see if it still warns. There may be some kind of macro that gets sent with the export (this has been discussed before), but not really sure. However, many clients I've been at just accept it and click Yes. I believe it's a 4.x thing (ie: I hope it's been corrected in 10g), but haven't tried that yet to be sure.
    As for the export having more than one worksheet, I believe I remember that this is also a known 'challenge' (ie: it doesn't just come out like a pivot table in 1 worksheet) and again, I'm pretty sure it's only a 4.x thing.
    Also, are there 2 options for exporting to Excel for a xtab (ie: export to Microsoft Excel Workbook (.xls), Microsoft Excel Pivot Table (.xls)? If so, try each as the first is for static sheet only info and the latter exports a 'static sheet', a 'pivot table' and 'warning sheet'.
    Also see metalink doc: 214075.1 for one possibility.
    Also see metalink doc: 157162.1 for another idea.
    Russ

  • Export to Excel formating problem

    I am having a problem with the formatting of a an export file
    to Excel, which is created by a Coldfusion page. My export file
    contains numbers that need to be formatted as text. I found the
    style code below on this forum, but I am not having any luck with
    it. I tried adding it to my style file or directly as style
    formatting on the export page, but neither one of the two are
    getting recognized.
    Is there anything else I need to code before this works? Your
    help is greatly appreciated. Thanks,
    Rose
    <html>
    <STYLE TYPE="text/css">
    TD {
    mso-number-format:\@;
    </style><body>
    <!---<cfheader name="Content-Disposition"
    value="inline; filename=Exportdata1.xls">--->
    <cfcontent type="application/vnd.msexcel">
    <cfheader name="Content-Disposition" value="inline;
    filename=export.xls">
    <cfquery name = "getclub" datasource="#DSN#">
    Select mail_name name,…
    </cfquery>
    <table width="200" border="2">
    <cfoutput query='getclub'> <tr>
    <td>#customer#</td>
    <td>#dateformat(begin_date,'mm/dd/yyyy')# -
    #dateformat(end_date,'mm/dd/yyyy')#</td>
    </tr></cfoutput>
    </table>

    Could it be a case sensitivity issue? I also noticed that you
    are missing a <head> tag pair, and that your date range field
    is not actually numeric. I doubt that excel is that delicate when
    it comes to those issues, but you might try:
    <html><head>
    <STYLE TYPE="text/css">
    TD.number {
    mso-number-format:\@;
    </style></head><body>
    <cfcontent type="application/vnd.msexcel">
    <cfheader name="Content-Disposition" value="inline;
    filename=export.xls">
    <cfquery name = "getclub" datasource="#DSN#">
    Select mail_name name,…
    </cfquery>
    <table width="200" border="2">
    <cfoutput query='getclub'> <tr>
    <td class="number">#customer#</td>
    <td>#dateformat(begin_date,'mm/dd/yyyy')# -
    #dateformat(end_date,'mm/dd/yyyy')#</td>
    </tr></cfoutput>
    </table>
    </body>
    </html>

  • Export to excel file problem

    When I export my Crystal report to excel file (97-2000)
    it does not show the Boxes and lines in excel file.
    I am using CR 11 and MS Office 2003
    please guide me how to solve this problem
    Edited by: mian ghous on Feb 10, 2009 1:59 PM

    But, DUDE, it IS possible using borders!  Each of the border options has a formula field that you can code to tell Crystal in effect "on this line of the report, I want xxx borders". 
    Let's start with the easiest example:  Say you want the line to go around the column heading (full box). then lines down each side of the column until the end, then for the the subtotal you want lines on three sides (all but top).  Set all four borders for the heading field to Single, set the right and left borders for the data field to Single, and set all but the top border for the subtotal field to Single.
    To expand this, let's say there is no subtotal, and you want the last value in the field to have a bottom border.  Set the header and data field borders as above, except for the bottom border of the data field, use the following formula (basic syntax):
    if {field} = NextValue({field}) then
      formula = crNoLine
    else
      formula = crSingleLine
    end if
    If you want the line across the top of the data field on the first detail row (i.e., not around the header), use the same logic as above, except using PreviousValue().
    HTH,
    Carl
    Edited by: Carl Sopchak on Feb 11, 2009 8:25 AM

  • FR Studio: HTML export to Excel formatting problem

    Hey,
    I am having trouble with the formatting when exporting from FR Studio to Excel.
    I have a report with 2 seperate grids. In HTML and PDF format it looks very neat. But when I export it to Excel, the bottom grid changes its format and some cells have weird colours and borders appear out of nowhere and make it look very ugly. Is there a way to solve this? I have tried many different things including changing cell borders and deleting entire grid and putting in a new one.
    Can anyone help me?
    Thanks!
    Samantha

    one can never have control on formatting of exported excel.
    At max what can you do is- try different different colors, which look nice in html, pdf as well as excel.
    Thanks,
    Rahul

  • Export to excel with javascript/vbscript or with plsql(html table)

    i have searched for a way to export data from OracleXe to excel without losing formatting .
    So far i have found 2 possible relatively easy ways that i am still researching
    (i do not include the ask tom sylk format way of exporting )
    1 to export the query to a html table, while using stylesheets for formatting
    (using microsoft specific styles)
    2. use of javascript/vbscript to fill an array and write this array to excel with use
    of visual basic for applications in excel.This also provides charting capabilities.
    I am still researching this two ways, and have
    encountered a few obstacles (help would be appreciated)
    1 the first way:
    a. create a button " export to excel"
    b. create the following pl/sql procedure:
    owa_util.mime_header('application/vnd.ms-excel');
    owa_util.http_header_close;
      HTP.PRINT('<html>');
      HTP.PRINT('<head>');
      HTP.PRINT('<meta http-equiv="Content-Type" content="text/html">');
      HTP.PRINT('<title>Title of the HTML File</title>');
      HTP.PRINT('</head>');
      HTP.PRINT('<body TEXT="#000000" BGCOLOR="#FFFFFF">');
      HTP.PRINT('<h1>Heading in the HTML File</h1>');
      HTP.PRINT('<p>Some text in the HTML file.');
      HTP.PRINT('</body>');
      HTP.PRINT('</html>');
    htmldb_application.g_page_text_generated := true;
    htmldb_application.g_unrecoverable_error := true;
    c: run the procedure conditionally based on the button  "export to excel"
    the problem with this way is that using htmldb_application.g_unrecoverable_error := true; is not the ideal way, because it
    stops further processing, but if i leave it out, the export doesn't happen.
    To export to excel while retaining data formatting  you have to use microsoft excel
    specific styles(Seedocumentation on the microsoft site)
    2.The second way:
    a create a pl/sql procedure or sql query.
    b use this query to fill a vbscript/javascript array with values
    c write these values to excel with use of vba in excel :
    the obstacle i encountered here was that i dont know how to export the result of a
    query to a visual basic script or javascript array.

    Using approach 1) works fine for me.
    the problem with this way is that using htmldb_application.g_unrecoverable_error := true;
    is not the ideal way, because it
    stops further processing, but if i leave it out, the export doesn't happen. Why is this a problem?
    I created the button to export the excel file on page 1 and created your pl/sql procedure on page 2 using an onload process.
    Works fine.
    Other approaches for exporting to excel are:
    http://www.oracle.com/technology/pub/articles/saternos_broadcast.html
    http://htmldb.oracle.com/pls/otn/f?p=18326:54:5685133631021176591::::P54_ID:1962
    ~Dietmar.

  • Currency format problem while exporting as excel

    Hi
    I have to create a report for which the currency format should be $#,##0.00 and -$#,##0.00 for negative numbers.
    In the text form field of rtf template, I have selected number format and removed the portion ;($#,##0.00) from $#,##0.00;($#,##0.00).When I view the report as HTML the numbers are showing in proper format.($#,##0.00 or -$#,##0.00).But when the report is exported as excel ,the negative number format changes to ($#,##0.00) in red color.
    Can anyone tell me how avoid this problem?
    Thanks in advance
    Naveen

    I think this is an Excel issue - you can right mouse click in Excel the column header and "Format Cells&gt;Text"
    You could also append a ' character to your numbers in BI Answers ie: '6035784010491980 which should give you the correct format in Excel.
    eg. CONCAT( '''', CAST ( '6035784010491980 AS CHAR) )
    There is also an MS Office plug in available for OBIEE this may give you further options.

  • Currency cell format does not export to excel doc

    Hi
    i am using new numbers on my macbook also on new OSX mavrics
    i have a invoice template that i have used for a good few years
    it has a fair amount of formulas and cell formats running
    the company i contract to uses windows based (office) system so i save the spreadsheet as an exel compatible file to send to them no problems
    untill now
    when i export to excel in ether .xls or .xlsx and open the document ether in numbers or on a windows pc on office 2007 all of the currency related cells are changed to 5 digits eg   -£8295.00 instead of £25 and the cell format show custom
    if i higlight the cell and change to curency the entrys chnge to the correct value
    has any one witnessed this ?
    it also is the same saving an excel sheet as a mac format CSV file and open that in numbers
    please help

    I am having exactly the same problem. Need to send invoices for work. Desperate for someone to help with a solution!!! thanks Stuart

  • Formatting numbers currency export to excel

    All
    I have the following SQL in my code.
    select trader, tradername, billingranacc,BILLINGPREFRANACC,LASTLOGINDATE, '€' ||to_char(billingamount,'99G999D99') Amount,substr(BILLINGPREFRANACC,1,1) as "R&NLocation"  from exlink_trader_import where usertype = 'Internal' and isbilled = 'Yes' and isdeleted = '0'Now the report picks up the € sign but when i export to excel it does not, can someone help with this ?

    Hi stranger colleague Ben
    The CSV codification is one but not the one issue that can affect the unexpected output of your report.
    But if you are viewing correctly the € symbol in your report, and the automatic CSV codification is enabled, sure you are in the usual case that makes more difficult the work of foreign developers and DBAs.
    Time before I resolved the wrong CSV output (“â‚ 600.00”) instead of the correct (“$ 600.00”) simply turning ON the automatic codification, but only after being managed many NLS parameters, and database character sets. We have different currency, keyboards, measure units than Americans, and have to read more chapters in documentation books. This is more pain if you are far to domain the English language!.
    Ben: you are getting the wrong output using the “ '€' || to_char (billingamount, '99G999D99')” format in the query, Have you checked using “billingamount” in the query, and defining the FML99G999D99 or FMU99G999D99 format in the report column numeric attribute?, You should seen the correct € output in the CSV file although you haven’t defined the automatic codification.

  • Export to Excel problem in Signal Express 2012

    Equipment used: PXIE-8102 CELERON T3100 1.9GHZ Controller Windows 7, PXIE-1071 4 Slot Chassis, PXIE-4140 4-Channel SMU 1.7.5 version.
    I am using Signal Express 2012 and the SMU to plot the I/V characteristics of FET and other active devices. I am able to obtain the anticipated curve traced results but I am not able to Export the data to Excel directly from the Data View using the Microsoft Excel option. The error message is: Data could not be sent to Microsoft Excel. Please ensure you have a properly licensed version of Microsoft Excel. See attachment.
    We have checked our version of Microsoft Office, it is Professional Plus and has the correct volume license so it does not revert to a home or student version.
    I have been able to use the Export to Excel function directly from the Dataview when I was using one of the waveform tutorials supplied with Signal Express so I suspect it is a function of the SMU.
    In conversations with an NI support engineer he felt it may be a problem with "an active x call is just not seeing the license for some reason", his suggestion is to drag the data into Excel rather than use the Data view tab. Because the SMU is being used in a production environment it is not really appropriate to have the operator work at this level so I would rather figure a way to have the data exported using the Data View tab.
    Anyway please can you let me know if there are any known work around for this issue.
    Thank you

    Calvin1957,
    I am not seeing any attachments in the first post or this latest post. The images should be added using the attachments section when creating the post. You should also be able to insert an image using the insert image button in the toolbar. Let me know if you have any questions. Thanks!
    Robert B
    Applications Engineer
    National Instruments

  • ALV TO EXCEL PROBLEM? ( 90 COLUMNS ALV CAN'T EXPORT TO EXCEL NORMALLY)

    HI ABAPERS,
    anyone have a alv that have over 90 columns and want to export to excel have experienced abnormal formating (like the header row show only up to 60 column and the rest show up in next row) and the data show in separate line.
    anyway can have a better format?
    also after 90 columns show up on alv, it can't show anymore except modify the layout in run time.
    can we do something before that?
    thanks & regards,
    HOWARD

    Hi HOWARD,
    My Report ouput having more than 90 columns in ALV, while downloading data from ALV to Excel sheet am facing alignment problem. (ie) the output column > 66 are appearing in next line of the excel sheet leads to improper alignment.
    Pls give me a solution as u had already come across this issue..
    Thank & Regards,
    Paramesh.

  • Problem in ALV export to Excel (Local File)

    Hi guys,
    I'm using the option export data do local file, option excel, but some strange behave is happening...
    Some columns are exported without the last digit...
    Ideas?
    Regards,
    LMS

    Hi LMS,
    Use this link.
    Export to excel in ALV
    Problem with Export to Excel from ALV Grid
    Hope this will help you to resolve your problem.
    Regards,
    Vijay

Maybe you are looking for

  • Cannot openInputStream on device

    Dear all, I've written a J2ME application for Sony Ericsson T610 that requests data from a servlet. In the emulator everything goes fine, but when I run it on the real device it throws an exception on "is.openInputStream" ! Since it runs fine in the

  • Audio Sync Issues

    I've found other posts addressing this, but none of them solved my problem...I've got a whole slew of clips logged, which I logged on the camera they were shot on. I'm now attempting to capture these clips via firewire using an old camcorder(to prese

  • NI VST Compatibility with RF Measurement Suits and toolkits

    Dear all I Hope this message finds you all well I need to know more about the compatibility of NI Vector Signal Transceivers (VST) with the available RF Measurement Suits. The below information is what I have gathered so far , since there is no compa

  • Wifi problem - working very slowly

    So I'm working off a 13-inch MacBook Pro (mid-2012) with 10.9.2, and my wifi was working fine up until a few days ago. Since then, it's been quite slow, and I tested the speed today, and it's working on a download speed of about 2Mbps. My subscribed

  • Background Layer

    Is there some possibility add a so called Background Layer to the Composition? I mean: the Layer, which doesn't reacts on effects in Adjustment Layer above. I used to precompose all the animation & AdLayer, but it's annoying to switch all the time ba