G
Guest
Hiyas
I've got an Expense Report form in Access for our International travelers.
Sometimes (quite often, really) their receipts are in Euros or whathaveyou.
I've a basic subform inputing the expense data, like this:
DATE | EXPENSETYPE | DESCRIPTION | CURRENCY | AMOUNT
I'd like to have this:
DATE | EXPENSETYPE | DESCRIPTION | CURRENCY | RECEIPTAMOUNT | USDAMOUNT
where "USDAMOUNT" is performing a calculation like this:
If CURRENCY is not "United States"
Then
If CURRENCY is like "Euro"
...convert by whatever the "ExchangeRate" for that currency is as per
T-Currency
...loop through all other 16 currencies stored in the table T-Currency
I have the needed exchange rates stored in table T-Currency as field
"ExchangeRate".
What say you?
/amelia
I've got an Expense Report form in Access for our International travelers.
Sometimes (quite often, really) their receipts are in Euros or whathaveyou.
I've a basic subform inputing the expense data, like this:
DATE | EXPENSETYPE | DESCRIPTION | CURRENCY | AMOUNT
I'd like to have this:
DATE | EXPENSETYPE | DESCRIPTION | CURRENCY | RECEIPTAMOUNT | USDAMOUNT
where "USDAMOUNT" is performing a calculation like this:
If CURRENCY is not "United States"
Then
If CURRENCY is like "Euro"
...convert by whatever the "ExchangeRate" for that currency is as per
T-Currency
...loop through all other 16 currencies stored in the table T-Currency
I have the needed exchange rates stored in table T-Currency as field
"ExchangeRate".
What say you?
/amelia