J
jg70124
I have a table of orders. Some of the fields are:
- Period Code
- Quantity
- Sold Currency (the local currency where the item is sold)
- Sale price in local currency
- Cost Currency (the local currency where the item was made)
- Manufacturing cost in local currency
Then I have a table of exchange rates, whose fields are:
- Period Code
- Currency
- Conversion to Euro
I would like to create a query showing all orders with sales and cost
in Euros. But its possible two have two different currencies for each
order (one for cost, one for sales). I've tried create the query with
two instances of the Exchange Rate table, and also with one instance
of the Exchange Rate table but with two sets of relationships, but in
each case the query hangs.
What is the most efficient way to design the query and/or
relationships?
- Period Code
- Quantity
- Sold Currency (the local currency where the item is sold)
- Sale price in local currency
- Cost Currency (the local currency where the item was made)
- Manufacturing cost in local currency
Then I have a table of exchange rates, whose fields are:
- Period Code
- Currency
- Conversion to Euro
I would like to create a query showing all orders with sales and cost
in Euros. But its possible two have two different currencies for each
order (one for cost, one for sales). I've tried create the query with
two instances of the Exchange Rate table, and also with one instance
of the Exchange Rate table but with two sets of relationships, but in
each case the query hangs.
What is the most efficient way to design the query and/or
relationships?