Results 1 to 1 of 1
  1. #1
    e_lady333 is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    1

    Unhappy Truncating an answer in a text field

    I'm pretty much a beginner using Access (you've been warned) I have a query which takes an entry "Weight" measured in lbs and calculates the kg equivalent. This answer - kg- has 4 decimal points, so I set the format properties to 2 decimal points. This works well. Now the problem is that I have to display the amounts in a report as - kg/Weight. I have used the following so as not to have a "/" if there is no value:



    IIf([Weight] Is Not Null,[kg] & "/" & [Weight]," ")

    This works except for the fact that the kg value is carried out to 4 decimals not the 2 that I need. Is there something I can do to change this?

    **the conversion factor is carried to 4 decimal places - we need that accuracy for the calculation.

    Thanks!
    Last edited by e_lady333; 03-22-2010 at 10:10 PM.

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

Similar Threads

  1. Replies: 4
    Last Post: 03-05-2010, 09:56 PM
  2. Calculated Field in continuous form
    By doobybug in forum Forms
    Replies: 2
    Last Post: 11-15-2009, 08:54 AM
  3. Setting criteria in a calculated date field
    By SteveReberger in forum Access
    Replies: 0
    Last Post: 10-29-2008, 06:58 AM
  4. Need Help Formatting a field.
    By marshallgrads in forum Access
    Replies: 4
    Last Post: 12-06-2007, 03:44 AM
  5. Update table from calculated field in a form
    By BernardKane in forum Forms
    Replies: 3
    Last Post: 11-28-2006, 09:48 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