Change Currency Using a Form

G

George

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
 
D

Daryl S

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top