Results 1 to 4 of 4
  1. #1
    skrebsky is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2011
    Posts
    1

    automatic currency conversion

    I have a simple table "jobs", basically a list of finished jobs, for which customers pay in various currencies. So there is a field "price" and a field "currency", linked to a table "currencies", to specify the currency of the invoiced price.
    I would like to have another field in the "jobs" table where price is automatically converted to GBP according to exchange rates specified in the "currencies" table.

    Probably, price in the "job" table has to be multiplied by a particular exchange rate, depending on which original currency it is in, and the result written into a new field, named "converted price" or sth like that.

    I reckon this can be done through a query and a calculated field added to the "jobs" table, but I don't know how.
    thanks for any ideas.
    Jakub

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    you should not be doing this in tables. what you should is have one table with the lookup rates and one table with the target to be converted. then, on forms and the like do the calcs and lookups with functions and code. that is the professional way to do it, and will always be recommended by people. Unless of course you get advice from someone that doesnt know what they're talking about...

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    ...or for historical reasons since the rate may/will change.

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by RuralGuy View Post
    ...or for historical reasons since the rate may/will change.
    yeah...if there was a connection string for pages like xe.com, that would be the option for this guy. Or a permanent phone line to a nyc day trader.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 03-23-2011, 11:43 AM
  2. UM Conversion
    By Rawb in forum Database Design
    Replies: 5
    Last Post: 01-24-2011, 04:02 PM
  3. Time Conversion
    By jsevilla in forum Access
    Replies: 1
    Last Post: 01-23-2011, 02:01 PM
  4. Access97 conversion to Access2010
    By jong in forum Access
    Replies: 3
    Last Post: 11-17-2010, 03:33 PM
  5. Conversion in Access table
    By Lucas83 in forum Access
    Replies: 1
    Last Post: 04-06-2010, 11:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums