I was trying to express numeric value to words and changing currency from Dollars to Pesos. I did so through the following discussions:
Details:
NOTE#1 - User Entered
NOTE#2 - Calculated (Read only)
NOTE#3- Text Field. Calculated (Read only) WordNum from numeric value in NOTE#2.
topmostSubform.Page1.Amount::calculate - (FormCalc, client) Replace ( Replace ( Replace( Replace ( WordNum (topmostSubform.Page1.Total, 2) , "Dollars ", "Pesos"), "Dollar ", "Peso"), "Cents", "Centavos"), "Cent", "Cent")
Just the way I wanted it to display, unfortunately as you may have noticed in the image in NOTE#3 the value read as:
One Thousand Two Hundred Thirty-four PesosAnd Fifty-six centavos
How do I correct it to:
One Thousand Two Hundred Thirty-four Pesos And Fifty-six centavos
And is it possible for me to able to have the value in upper case with at the end with ONLY.
ONE THOUSAND TWO HUNDRED THIRTY-FOUR PESOS AND FIFTY-SIX CENTAVOS ONLY
Pardon me guys but I am NOT that good with scripts.
Thank you in anticipation of your positive response.