A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Change Currency Using a Form



 
 
Thread Tools Display Modes
  #1  
Old March 30th, 2010, 06:02 AM posted to microsoft.public.access.forms
George
external usenet poster
 
Posts: 883
Default 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  
Old March 30th, 2010, 05:53 PM posted to microsoft.public.access.forms
Daryl S[_2_]
external usenet poster
 
Posts: 881
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.