DonkeyOte
MrExcel MVP
- Joined
- Sep 6, 2002
- Messages
- 9,124
Hi - now I could do this v simply in Excel etc but in my wisdom I have decided to create a simple db program for one of my Management Accountants - only problem being that I can't do it
In short I have a form in which a user will "log" a sale - and denote a sale currency. Now, I then need 3 sale amounts to be converted into 3 currencies...
eg I have sale amount 1, sale amount2 and sale amount 3 denoted by currency GBP. I then have other columns such as sale amount1 - GBP, sale amount 2 - GBP, sale amount 3 - GBP, sale amount 1 - USD, sale amount 2 - USD etc...
So what I want is to get fields:
Sale Amount 1 GBP
Sale Amount 2 GBP
Sale Amount 3 GBP
Sale Amount 1 USD
etc
to auto populate by looking up the denoted currency and retrieving an Exch Rate - to which Sale Amount 1 is multiplied etc....
I have created a table called EXCH which has 4 rows and 4 columns - this is effectively a matrix - ie GBP, USD & EUR on the horizontal and vertical axis' - with erates filling up the cells...
So for say SALE AMOUNT 1 which is denoted as USD - I want to fill SALE AMOUNT 1 GBP by taking SALE AMOUNT 1 looking up USD and going across to GBP to get the ERATE...
I have no doubt this is v SIMPLE but I am lost...I only use Access to store data and retrieve via SQL so I am a bit "new"... Should I be looking to create a SQL query to do this or can I somehow create calculated fields within the table setup?
God that makes no sense. Back to Excel...
In short I have a form in which a user will "log" a sale - and denote a sale currency. Now, I then need 3 sale amounts to be converted into 3 currencies...
eg I have sale amount 1, sale amount2 and sale amount 3 denoted by currency GBP. I then have other columns such as sale amount1 - GBP, sale amount 2 - GBP, sale amount 3 - GBP, sale amount 1 - USD, sale amount 2 - USD etc...
So what I want is to get fields:
Sale Amount 1 GBP
Sale Amount 2 GBP
Sale Amount 3 GBP
Sale Amount 1 USD
etc
to auto populate by looking up the denoted currency and retrieving an Exch Rate - to which Sale Amount 1 is multiplied etc....
I have created a table called EXCH which has 4 rows and 4 columns - this is effectively a matrix - ie GBP, USD & EUR on the horizontal and vertical axis' - with erates filling up the cells...
So for say SALE AMOUNT 1 which is denoted as USD - I want to fill SALE AMOUNT 1 GBP by taking SALE AMOUNT 1 looking up USD and going across to GBP to get the ERATE...
I have no doubt this is v SIMPLE but I am lost...I only use Access to store data and retrieve via SQL so I am a bit "new"... Should I be looking to create a SQL query to do this or can I somehow create calculated fields within the table setup?
God that makes no sense. Back to Excel...