Solved

ToWords Function in Crystal Report

Posted on 2003-11-05
7
2,029 Views
Last Modified: 2008-02-26
Hi..
    I have used the ToWords function crystal report to convert from amount to words ....Suppose in give as ToWords(100000)
The result is One Hundred Thousand...Instead i need the result to be One Lakh....How to get it
0
Comment
Question by:arvind_mvp
  • 2
  • 2
7 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 9685636
Not enough information to give you a proper answer.

But, in principle, you could run a Replace function on the result of the ToWords function.

For example:

You have a formula field mWords:

stringvar resp;
resp := ToWords ({Orders_Detail.Order ID});
resp := Replace (resp,"thousand" ,"Lakh" );
resp

repeat the Replace command for all the changes you want to make.

Pete
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 9686827
ToWords converts the number to the language of the Crystal edition.  Are you trying to convert to a currency?

mlmcc
0
 

Author Comment

by:arvind_mvp
ID: 9692015
I dont want to convert to a currency...what i need is just conversion to words...is there any version of crystal edition which converts currency to the format i wanted ( ie Asian Format)
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 9692214
I didn't know what Lakh was.

Are yo trying to display the words in another language?

I believe you will need to buy the appropriate langauge edition.

You could also write your own function to do the conversion.

mlmcc
0
 
LVL 77

Accepted Solution

by:
peter57r earned 100 total points
ID: 9692660
'I dont want to convert to a currency...what i need is just conversion to words...is there any version of crystal edition which converts currency to the format i wanted ( ie Asian Format) '

I don't think there is a version of CR which converts CURRENCY to words in any language or any currency.
It only converts numbers to words.
There is a procedure here which shows how (difficult it is!) to convert dollar amounts to words including currency.
http://support.crystaldecisions.com/library/kbase/articles/c2005712.asp

Pete
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now