Results 1 to 4 of 4
  1. #1
    janmack79 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2016
    Posts
    30

    Include Decimals when Adding Fields

    Click image for larger version. 

Name:	Capture.PNG 
Views:	12 
Size:	18.5 KB 
ID:	28398
    Hi All,



    I am trying to sum up the three fields shown in the Update To row and populate the total to the filed called Contract Value (Calc) in the same table. My issue is that it's rounding the total instead of showing the decimal values. Not sure what I need to do to get it to sum up and show at least two decimal places. Also the filed size for Contract Value (Calc) is set to Long Integer and Decimal Places is set to 2 if that matters.

    Any suggestions would be appreciated on how to fix this.

    Thank You

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Normally, saving calculated data is a bad idea. Save raw data and do calc when needed.

    Set the data type to Double and format type to Fixed.


    Advise not to use spaces or punctuation/special characters (underscore is only exception) in naming convention for anything.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,389
    Contract Value (Calc) is set to Long Integer
    Integers by definition are whole numbers, they have NO decimal places.
    Define the receiving field as currency.

  4. #4
    janmack79 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2016
    Posts
    30
    Ok perfect that worked, thank you!

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

Similar Threads

  1. Replies: 1
    Last Post: 12-12-2016, 03:07 PM
  2. Replies: 1
    Last Post: 08-06-2013, 07:52 PM
  3. Rounding decimals
    By brianmcleer in forum Access
    Replies: 1
    Last Post: 06-05-2013, 12:37 PM
  4. Age with Decimals?
    By Lowell in forum Access
    Replies: 1
    Last Post: 10-18-2012, 11:13 PM
  5. Replies: 1
    Last Post: 10-12-2012, 03:23 PM

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