Hi Seb
We tried the harder option of changing the "display" in the program.
With the "using" keyword, it is easy to use it on "display to" individual field, but not easy to use it for input field and arrays.
Even with the "display to", we have lot of place where the code is like:
display by name r_fin_charges.*
For the above example we have to break it to individual field and display
eg:
display r_fin_charges.fin_debtor_amount using g_v_money to fin_debtor_amount
g_v_money is defined as: let g_v_money = "-",l_currency_symbol,"<<,<<<,<<&.&&"
l_currency_symbol is derived from the database based on the client country.
Problem:
To avoid currency display in arrays and input statement, we exported the DBMONEY to blank space with we run the application.
export DBMONEY=" "
With this everything works ok. Wherever we are using "display using" its displaying correctly, and in arrays, no currency is displayed, same goes for input variable statement.
EXCEPT IF THE CURRENCY USED IS "$"
Except for "$", all other currencies gets displayed correctly. For "$", no currency symbol is displayed.
So now the question is - is the empty DBMONEY string causing this issue.???? What can we do to fix this.
I can see the g_v_money getting the correct format defined:
G_V_MONEY : -$<<,<<<,<<&.&&