Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6734631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:54:43+00:00 2026-05-26T10:54:43+00:00

I’m working with a Crystal Reports export with different localization. For this example, I’m

  • 0

I’m working with a Crystal Reports export with different localization. For this example, I’m trying to set the localization to French which uses Euros.

I set the localization with the following C# code:

    ReportDocument report = new ReportDocument();

    report.ReportClientDocument.LocaleID = CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleFrench;
    report.ReportClientDocument.PreferredViewingLocaleID = CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleFrench;
    report.ReportClientDocument.ProductLocaleID = CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleFrench;

When I export the report the following value is displayed:

135,00 $

Notice that the format of the number changed correctly, but the currency symbol didn’t.

I’ve been searching for a solution but pretty much everything focuses on changing the currency at design time, but I need to be able to change it at run time depending on some other values that the user selects.

I’ve seen some hints around using parameters to pass in a value and using a formula in the designer but I’m not familiar enough with Crystal Reports to figure it out.

I’m using Crystal Reports 10.5 with Visual Studio 2010 and .Net 3.5.

Any help or tips is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:54:43+00:00Added an answer on May 26, 2026 at 10:54 am

    I figured it out and based on the research that I’ve done I think that this is the only way to do it.

    I’m pretty sure that the symbol doesn’t change on purpose. Following the logic that a report is used for only one type of currency, even though the format will change with culture, the actual currency value is the same. $100 is always a $100 no matter what language the report is viewed in and this way, the report doesn’t have to worry about converting the data to different amount.

    In my application, the data is stored as just a number and the currency is determined by other values in the database and the code.

    But to get to the point, I specified the locale of the report based on the code in my question. Then to change the currency, symbol I had to go into the report designer and format the currency questions.

    In the ‘Number’ tab of the Format Editor, make sure the ‘Display Currency Symbol’ box is checked. Then click on the ‘Customize’ button and the ‘Currency Symbol’ tab. Go to the Formula Workshop for the currency symbol and then put in the following code:

    Local StringVar locale := LowerCase(ContentLocale);
    if locale = "fr_fr" then
        "€"
    else if (locale = "en_gb") then 
        "£"
    else if(locale = "en_us" OR locale = "en_ca") then
        "$"
    else
        ""
    

    This is just an example of the languages that I’m supporting but right now, but I think it gets the point across. Also note that Crystal uses underscores in the locale IDs instead of hyphens.

    Kind of a log winded answer but hopefully this will help someone else.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small
Basically, what I'm trying to create is a page of div tags, each has
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I am trying to loop through a bunch of documents I have to put
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.