Click here to Skip to main content
15,891,597 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Peace upon you
i'm trying to display Arabic numbers in crystal report viewer but i'm always getting them into English
my environment is

Windows 10 x64
visual studio 2013

crystal reports version for visual studio (10)

Shokran

What I have tried:

stringVar StrArb := ToText({DataTablepayslp.EF01}); 
StrArb := Replace (StrArb ,"0" , "٠" );
StrArb := Replace (StrArb ,"1" ,"١" );
StrArb := Replace (StrArb ,"2" ,"٢" ); 
StrArb := Replace (StrArb ,"3" ,"٣" ); 
StrArb := Replace (StrArb ,"4" ,"٤" );
StrArb := Replace (StrArb ,"5" ,"٥" ); 
StrArb := Replace (StrArb ,"6" ,"٦" ); 
StrArb := Replace (StrArb ,"7" ,"٧" );
StrArb := Replace (StrArb ,"8" ,"٨" );
StrArb := Replace (StrArb ,"9" ,"٩" );

but i have totals at 3 levels and the above doesnot let me use (sum)
Posted
Updated 19-May-17 11:27am
Comments
Maciej Los 19-May-17 17:22pm    
What kind of value is stored in DataTablepayslp.EF01?
zamzam_301 23-May-17 7:50am    
NUMERIC DATA

1 solution

Not sure, i understand you well....

I'd suggest to read this: Number To Word (Arabic Version)[^]
and this: How to convert number to words in Crystal Reports [^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900