calculated text areas
Sometimes we sell our products in other currencies so we register price of the respective product in the table from the currency selected. But the invoice should be emitted in the local currency. So i need to multiply registered sales price with the exchange rate of the respective currency if the product's sales price is registered with another currency so it should be like the following :
how may i do such thing in fast report?
if table.currency = 'EURO' then
inv_price := table.price*table.exch_rate
else
inv_price := table.price
end;
how may i do such thing in fast report?
Comments
from the band obp
if table.currency = 'EURO' then
memoname.text :='[(<table."price">*<table."exch_rate">)]'
else
memoname.text '[ table."price"]'
end;