Hello,
I have a form with information about a procurement which includes the currency of the purchase and the amount of the purchase in seperate fields, and the currencies vary from order to order. I need a calculated field on the form which will show the Dollar (USD) value of the procurement based on the rate of exchange (ROE) on the date of the order. The rates of exchange are stored in a seperate table. How do I find the matching curreny's ROE and then convert the purchase amount to USD? e.g. on date x the order was placed in currency y in the amount of z - what is the USD equivalent of the order?
The form fields for the search criteria are:
- For date: [MyForm]![DateCreated]
- For currency: [MyForm]![txtCurr]
The form fields for the calculation is:
-For amount: [MyForm]![txtTotal]
The table which contains the rate of exchange information is tROE and has the following fields:
-RoeID
-RoeDate
-USD
-RSD
-EUR
Thanks very much.