Results 1 to 8 of 8
  1. #1
    jllcpa is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2018
    Location
    Maryland
    Posts
    4

    Formatting amounts

    I'm trying to build a database to track multiple invoices on projects but the tables always rounds the amounts - what do I do to have it show the unrounded amounts?

  2. #2
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,742
    You probably have the amount fields in the table defined as long integers. Change to currency.

  3. #3
    jllcpa is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2018
    Location
    Maryland
    Posts
    4
    Currency is not an option for field size and I have currency as the format.

  4. #4
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,742
    Currency is not an option for field size and I have currency as the format.
    Don't understand about field size.
    Are the rounded amounts in calculated fields?
    Are the rounded amounts actually in the table, or showing up in a form as rounded?
    Rounded how? To no decimals or ???
    Please show the calculations and the data types of all the fields involved in the calculations.

  5. #5
    jllcpa is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2018
    Location
    Maryland
    Posts
    4
    They are not calculated fields - they are input fields.

    They are rounded to the whole number with decimal .00

    The calculation field also rounds - I have changed the field type to currency in the calculation field.

  6. #6
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,742
    I suggest using Decimal and specify scale and precision properties in the table.
    Precision is the total number of digits in a number, including left and right of the decimal.
    Scale is the number of digits allowed to the right of the decimal.

    So 1234567.89 has a precision of 9.
    A precision of 4 and scale of 2 would result in a number with a maximun value of 99.99
    123456.789 has a scale of 3 and precision of 9.
    Precision has a maximum value of 28, but textboxes in forms allow only a max of 15 decimal places.

    If problem persists, please post DB with the data entry form and table the data is stored in so that we can see the problem in action

  7. #7
    jllcpa is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2018
    Location
    Maryland
    Posts
    4
    That did the trick - thank you very much for your help

  8. #8
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,742
    Glad to help. We made quick work of that one!

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

Similar Threads

  1. How to make amounts subtract
    By simmiepam in forum Reports
    Replies: 24
    Last Post: 02-24-2018, 10:01 PM
  2. Sum all amounts for each ID
    By breezett93 in forum Queries
    Replies: 9
    Last Post: 02-20-2017, 11:52 AM
  3. Ask a process amounts
    By azhar2006 in forum Queries
    Replies: 4
    Last Post: 01-14-2014, 01:06 PM
  4. Aggregate Amounts and group ID together
    By shoro in forum Queries
    Replies: 1
    Last Post: 06-07-2013, 10:59 AM
  5. Quarterly Amounts
    By Brian62 in forum Queries
    Replies: 9
    Last Post: 10-16-2009, 02:18 PM

Tags for this Thread

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