User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 373,364 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,632 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser:
Views: 677 | Replies: 8
Reply
Join Date: Oct 2007
Location: malta
Posts: 18
Reputation: dragon@dragon64 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
dragon@dragon64 dragon@dragon64 is offline Offline
Newbie Poster

Help microsoft access help

  #1  
Mar 16th, 2008
hi i am trying to do a simple access database, with quantities, and a query with a report
I have create a table with one of the variables being a numeric value, but i need to have 2 decimal places. when i format with 2 decimals, what ever i type in is rounded up. Can anyone help.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2006
Location: Japan
Posts: 122
Reputation: HI2Japan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 12
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: microsoft access help

  #2  
Mar 17th, 2008
Does the data in your table have 2 decimal places, or did you just set the query and report to display at 2 decimals?
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out!"
Reply With Quote  
Join Date: Oct 2007
Location: malta
Posts: 18
Reputation: dragon@dragon64 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
dragon@dragon64 dragon@dragon64 is offline Offline
Newbie Poster

Help Re: microsoft access help

  #3  
Mar 17th, 2008
Originally Posted by HI2Japan View Post
Does the data in your table have 2 decimal places, or did you just set the query and report to display at 2 decimals?

i have 2 decimal places in the form, the table and the query. what happens is that if for example i input 1.34, the figure will show as 1.00, and if i post 1.89 it will show as 2.00.
Reply With Quote  
Join Date: Mar 2006
Location: Japan
Posts: 122
Reputation: HI2Japan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 12
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: microsoft access help

  #4  
Mar 17th, 2008
What data type and field size do you have set in the table? Keep in Mind that some of the field sizes don't allow decimals.
Last edited by HI2Japan : Mar 17th, 2008 at 3:10 am.
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out!"
Reply With Quote  
Join Date: Oct 2007
Location: malta
Posts: 18
Reputation: dragon@dragon64 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
dragon@dragon64 dragon@dragon64 is offline Offline
Newbie Poster

Help Re: microsoft access help

  #5  
Mar 17th, 2008
i have tried with fixed, standard and general
Reply With Quote  
Join Date: Mar 2006
Location: Japan
Posts: 122
Reputation: HI2Japan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 12
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: microsoft access help

  #6  
Mar 17th, 2008
In the table you should be looking at either currency or number. The field size should be either decimal, single or double.
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out!"
Reply With Quote  
Join Date: Mar 2006
Location: Japan
Posts: 122
Reputation: HI2Japan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 12
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: microsoft access help

  #7  
Mar 17th, 2008
Long integer which is the default for number data type, while it will show 2 decimal places if you set it , it cannot actually read them.
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out!"
Reply With Quote  
Join Date: Oct 2007
Location: malta
Posts: 18
Reputation: dragon@dragon64 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
dragon@dragon64 dragon@dragon64 is offline Offline
Newbie Poster

Help Re: microsoft access help

  #8  
Mar 17th, 2008
Thanks it worked, i used field size as double, format as standard and decimal places as 2.
Since you are so good at this may i ask another question?
Reply With Quote  
Join Date: Mar 2006
Location: Japan
Posts: 122
Reputation: HI2Japan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 12
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: microsoft access help

  #9  
Mar 17th, 2008
Just ask, not sure if I can help, but I'll try.
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out!"
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb MS Access and FileMaker Pro Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the MS Access and FileMaker Pro Forum

All times are GMT -4. The time now is 2:42 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC