If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Change Currency Using a Form
Hi,
Not sure if a Form is the right way to go but i what i need is to apply a USD/Australian Dollar (AUD) currency value on a certain date to a query or report so that the market values in the report is either AUD or USD depending on what i want. Kind of long winded but my data will initially be in AUD and i want to ask the user if they would like to convert the currency to USD and if so a table is sourced and the USD conversion rate is applied to the market values. any help here would be great. thanks George |
#2
|
|||
|
|||
Change Currency Using a Form
George -
You can use a form rather than a table to supply the conversion rate. If the user wants the report in AUD, then the conversion rate must be 1.000. The query would simply multipy any dollar value by the conversion rate. For example: change [TransactionAmt] to [TransactionAmt] * Forms!MyFormName.ConversionRate Do this for all the dollar values. You can also add a column to the query that simply has Forms!MyFormName.[ConversionRate] in it so you will always know the conversion rate used for the query results. -- Daryl S "George" wrote: Hi, Not sure if a Form is the right way to go but i what i need is to apply a USD/Australian Dollar (AUD) currency value on a certain date to a query or report so that the market values in the report is either AUD or USD depending on what i want. Kind of long winded but my data will initially be in AUD and i want to ask the user if they would like to convert the currency to USD and if so a table is sourced and the USD conversion rate is applied to the market values. any help here would be great. thanks George |
Thread Tools | |
Display Modes | |
|
|