Results 1 to 7 of 7
  1. #1
    Lorlai is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    107

    Getting rid of ### signs

    I have some large numbers (3.666667, 11.833333, etc) that appear on my tables, forms, and reports as ######. I want to be able to display only the last two decimals (3.67, 11.83, etc). When I tried to go in through the table properties and change to the details to only two decimals, lots of things in my database were then messed up and I was unable to update items due to type conversion failures.

    Is there another way to do this without going through the properties window?

  2. #2
    gopherking is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jul 2011
    Posts
    71
    For your Reports and Forms, you can set the number of decimal places to display via the object properties under the Format Tab. Setting the format at the field level on a report/form doesn't affect the number in other locations within the database, but you do need to make the change on each report/form in order for them all to match.

    Other than that, you would want to set the format at the table level which should cascade to all reports/forms that use that field. But from your post it sounds like this wasn't working for you. At least you can change it at the form/report level.

  3. #3
    Lorlai is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    107
    Hi gopherking,

    Thank you for your response. I tried what you suggested and changed the number of decimal places in the property sheet for each occurrence in my report. However, I am still seeing the ### and the numbers kept more than two decimal places.

    Does anyone have another idea on how to make this work?

  4. #4
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    you might want to try the format function in your reports/queries.

    Here is a quick tutorial on formatting numbers.

    http://www.techonthenet.com/access/f...ric/format.php

    Alan

  5. #5
    Lorlai is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    107
    Hi Alan,

    Thank you for your response. This is the same thing I have tried before, and by formatting the tables, I was no longer able to update data due to a data type conversion failure. My table that it is being uploaded to is a SharePoint List, which has limited flexibility in the format of numbers (at least as I've found). Is there a different way to go about this?

  6. #6
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    I was not suggesting that you format the table, but to format the query in an expression. In this manner, you maintain the original integrity of the data, but it is displayed in the manner you prefer. Look at the last example in the link I shared where it shows formatting a query.

    Alan

  7. #7
    Lorlai is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    107
    Hi Alan,

    Sorry I misunderstood you; I was able to reformat the numbers using the query as you suggested.

    Thank you so much for your help!

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

Similar Threads

  1. Replies: 0
    Last Post: 03-08-2011, 11:07 AM
  2. Pound signs restoring tables
    By Djacsnp in forum Access
    Replies: 2
    Last Post: 04-20-2010, 05:42 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