V
Viktor Harder
Hello
I have a table with a cost field in USD.
I want to convert the USD in EUR with a factor that is valid for year 2006.
In year 2007 the conversion factor will be different. I have two tables.
Table "Projects"
NAME COST_USD
A 10'000
B 20'000
C 5'000
D 30'000
Table "Rates"
YEAR EUR_USD
2006 1.400
2007 1.350
I would like to create a query shows projects in USD and EUR:
Query "Projects_2006"
NAME COST_USD COST_EUR
A 10'000 7'143 (calculated by
10'000/1.400= 7'143)
B 20'000 14'286
C 5'000 3'571
D 30'000 21'429
Next year I want to use the conversion factor for 2007.
I wanted to create a UNION query. However I did not come to a solution.
Any help is appreciated.
Viktor
I have a table with a cost field in USD.
I want to convert the USD in EUR with a factor that is valid for year 2006.
In year 2007 the conversion factor will be different. I have two tables.
Table "Projects"
NAME COST_USD
A 10'000
B 20'000
C 5'000
D 30'000
Table "Rates"
YEAR EUR_USD
2006 1.400
2007 1.350
I would like to create a query shows projects in USD and EUR:
Query "Projects_2006"
NAME COST_USD COST_EUR
A 10'000 7'143 (calculated by
10'000/1.400= 7'143)
B 20'000 14'286
C 5'000 3'571
D 30'000 21'429
Next year I want to use the conversion factor for 2007.
I wanted to create a UNION query. However I did not come to a solution.
Any help is appreciated.
Viktor