Results 1 to 6 of 6
  1. #1
    Owl is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2010
    Location
    Durban, South Africa
    Posts
    55

    Formatting a calculated field in a query to currency with no decimal points

    I have a calculated field in a query which I want to format to Currency to 0 decimal points, either in the query or in the form which the query serves. I have an idea that it is something like Format$ but have not been able to guess how to apply it. I would like to know exactly where to put what, in relation to the fieldname and calculation, e.g.



    FieldName:[Calculation])

    Thank you for any help.

    Owl

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726

  3. #3
    Owl is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2010
    Location
    Durban, South Africa
    Posts
    55
    Thank you for trying, but it wasn't there.

    Please could somebody tell me what to put exactly where on my stylised example in the original question.

    Thank you for any help.

    Owl

  4. #4
    Owl is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2010
    Location
    Durban, South Africa
    Posts
    55

    Lightbulb Eureka!

    I managed to sort this out myself.

    I had tried every method I could think of and that worked on other calculated fields and couldn't understand why none of those ways were working on this one.

    Then,, I removed the Nz function which hadn't been necessary anyway (), and hey presto! I was able to format it to Currency!

  5. #5
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    For others who may be searching for the answer, perhaps you could show your solution.

  6. #6
    Owl is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2010
    Location
    Durban, South Africa
    Posts
    55
    I did.

    As you will see in my previous reply, I removed the Nz function. That (possibly wrongly used) was what was preventing me from formatting the field in any of the normal ways (e.g. Format: Currency and Decimal Places: 0).

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. Need Currency or Decimal Help!
    By Jaricketts in forum Access
    Replies: 2
    Last Post: 08-19-2010, 09:39 PM
  3. HELP! formatting currency
    By jgelpi16 in forum Reports
    Replies: 1
    Last Post: 07-06-2010, 09:04 AM
  4. Formatting a Calculated Field
    By e_lady333 in forum Queries
    Replies: 0
    Last Post: 03-17-2010, 06:11 PM
  5. many decimal places in calculated fields
    By GordS in forum Access
    Replies: 1
    Last Post: 02-04-2009, 11:12 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