Results 1 to 2 of 2
  1. #1
    Tim Hardison is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2009
    Posts
    2

    Angry Setting Field Properties for Numbers


    I have had a great deal of difficulty dealing with numbers in access. I was recently entering flexibility numbers of students ie 9.0, 11.5, 4.5, 8.0. I was entering it as text initially, but I had to average these for right and left leg to a single value. I went back and reset data type to number, and set the set the properties to long integer, fixed, with one decimal space. I did a caluculated field in an query to calculate the average. In beginning to enter data again for a new school this am, I noticed that I had 500 kids whose flexibility values had changed, all rounded off to a whole number, with a .0 following all numbers. Could anyone explain how I need to set field properties so I can keep the .5's for accuracy, average the right and left leg, and still be able to sort the numbers Z to A accurately. Many times in the past I have to put a placeholder 0 in front of numbers so they will sort accurately. I am tired of having to renter data, because my settings were wrong, and Access has automatically rounded off.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Integers (long or short) are whole numbers only. You need to use a DataType that supports a decimal. If 4 places is adequate I prefer the Currency DataType. If not then you will need to use one of the floating point types (Single or Double).

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

Similar Threads

  1. Replies: 3
    Last Post: 10-18-2009, 08:38 PM
  2. Setting a field to be dependent on another
    By CushingMT in forum Forms
    Replies: 0
    Last Post: 11-19-2008, 11:51 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. Extract numbers from text string strored in a field.
    By khabdullah in forum Programming
    Replies: 2
    Last Post: 12-23-2007, 06:55 PM
  5. Setting combo box properties
    By rathfam4 in forum Programming
    Replies: 1
    Last Post: 12-28-2005, 02:27 AM

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