From: George on 30 Mar 2010 01:02 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
From: Daryl S on 30 Mar 2010 12:53 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
|
Pages: 1 Prev: Form using a query to look up values Next: Still stuck: rerunning a query to change criteria |