I m working on windows form application. I need to show amount in words in crystal report.
How can show amount in words in crystal report ?
I m working on windows form application. I need to show amount in words
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You can write custom property in the class object (if you are binding it to object datasource) which returns the value of amount in words.
If you are binding it to table or output from stored procedure then you need to add a column to the table in result set and populate it with the value of amount in words.
Now you can bind the label to column/property to show amount in words.
EDIT: code example (hope this helps you)
this outputs:
PS:- This is for illustration purpose only. Please if (ever) you use it use proper exception handling etc.