Results 1 to 5 of 5
  1. #1
    ManuelLavesa is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Posts
    113

    Changing dynamically the format of a currency field " Price"

    Ideally on the invoice Report I am trying to change the currency field (Price) depending on the customer country. Is there a way of doing this? Also Access seems to only have $ and euros... Is there a way of adding other currencies such as pounds or CHF? Thank you for your help

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    in the table , remove the dollar sign in the format of the currency field
    then in the country table, youd have
    tCountryCodes
    -----------------
    countryCode, currencyCode, currencySymbol
    JPN, YEN,¥

    join your table to the tCountryCodes on CountryCode
    then use the symbol.

  3. #3
    ManuelLavesa is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Posts
    113
    Thank you for your answer... But I have to say that I am new at this so I don't know how to remove the dollar sign. I know how to change the format to euros or currency. The currency format is in $. Could you please explain it a little bit more about how to do it. Thanks.

  4. #4
    ManuelLavesa is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Posts
    113
    I have been looking in the internet and I found some suggestions but do not work. So this is what I tried I went to my table Products in design view. Then I picked the field that has the currency format (Price) and in the format box I erased the currency word and replaced it with CHF#,##0.00 The system converts this to /chF#,##0.00 and when I save the table and look at the data sheet. I see that the change is very strange I get C0F#,##0.00 and C10F#,##0.00 and many other combinations but not CHF. Does anybody know what am I doing wrong?

  5. #5
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    well R256 offers great advice but in this case I don't think one can remove the currency symbol as a table property. Though I welcome input on that to learn something new. I know one has that option in excel.

    I believe that you need to option the currency field instead to be a generic single number field - and add a field that holds the currency ID. Then with this currency ID field you would either simply use it instead of the symbol i.e. USD or CHF or whatever - or use it to dynamically toggle visibility of the correct currency symbol image with is a little more tricky. Just off the cuff.

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

Similar Threads

  1. Replies: 5
    Last Post: 11-23-2014, 03:54 PM
  2. Replies: 22
    Last Post: 09-04-2014, 09:12 PM
  3. Replies: 2
    Last Post: 04-19-2014, 02:42 AM
  4. Replies: 7
    Last Post: 01-29-2012, 07:44 AM
  5. Replies: 8
    Last Post: 11-12-2010, 10:55 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