Re: numeric fields

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Allen Browne (AllenBrowne_at_SeeSig.Invalid)
Date: 09/17/04


Date: Fri, 17 Sep 2004 19:58:07 +0800

Open your table in design view.
Select the numeric field.
In the lower pane, change the Field Size from to Double.

The integer types can only store whole numbers.

The format and number of decimal places only affects how the number is
displayed, not how it is stored.

-- 
Allen Browne - Microsoft MVP.  Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"jenhj" <jenhj@discussions.microsoft.com> wrote in message
news:2839BC48-91DE-441F-8A09-579E54078BBE@microsoft.com...
> Can anyone tell me why suddenly numeric fields in a very simple database 
> have
> started rounding up & rounding down - ie I enter 4.25 and it displays 
> 4.00,
> 1.75 displays as 2.00.  I tried every combination of decimal places, 
> format
> etc but nothing seems to stop it.  I've never come across this prob before
> and it's friving me nuts!! 


Relevant Pages

  • Re: Time calculation in query
    ... > I have a numeric field that I am using to convert to hours and minutes. ... SELECT SumAS SumOfTSeconds, ... Why are you using the Format() function on the result? ... the numbers will be strings & you will have to translate the ...
    (microsoft.public.access.queries)
  • Re: Date/Time problem please help !
    ... A date/time field in Access is in essence a numeric field which is ... doesn't display one, much like it wouldn't display a decimal part if one ... wasn't stored in a numeric field with no format imposed. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: leading zeros were lost
    ... > I have a problem where I cannot control the format of the ... Are you using a numeric field DataType or a character DataType? ... fields hold numeric values (which means no leading zeros). ...
    (microsoft.public.access.queries)
  • Re: Text Import / Numeric field overflow
    ... causing the error. ... Just to review/compare the text file and see what's ... the following message "Numeric field overflow". ... I have checked the format of each fields and the are absolutly similar ...
    (microsoft.public.access.macros)
  • Re: Number Formats HELP?
    ... That's probably due to the type of numeric field that you defined in ... Microsoft Access MVP ... and you'll never work a day in your life." ... format and keep it exactly the way i enter it ...
    (microsoft.public.access.forms)