PC Review


Reply
Thread Tools Rate Thread

Access: how to get final zeros to show in decimals (ex. 0.530)?

 
 
=?Utf-8?B?VGVyZXNh?=
Guest
Posts: n/a
 
      6th Sep 2006
We are trying to enter data which has very specific values of three decimal
places. For some of this data, "1.200" is a legitimate value and we need the
zeros represented to show the data was entered correctly. Other than making
this a text field, how can I keep Access from truncating the zeros?
 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      6th Sep 2006
Teresa,

In the Format property of the controls on your form, set it to either
Standard or Fixed, and then set the Decimal Places property to 3.

--
Steve Schapel, Microsoft Access MVP

Teresa wrote:
> We are trying to enter data which has very specific values of three decimal
> places. For some of this data, "1.200" is a legitimate value and we need the
> zeros represented to show the data was entered correctly. Other than making
> this a text field, how can I keep Access from truncating the zeros?

 
Reply With Quote
 
=?Utf-8?B?TmluaWVs?=
Guest
Posts: n/a
 
      6th Sep 2006
Field Size = Decimal, Format = Fixed, Decimal Places = 3 works.

"Teresa" wrote:

> We are trying to enter data which has very specific values of three decimal
> places. For some of this data, "1.200" is a legitimate value and we need the
> zeros represented to show the data was entered correctly. Other than making
> this a text field, how can I keep Access from truncating the zeros?

 
Reply With Quote
 
=?Utf-8?B?VGVyZXNh?=
Guest
Posts: n/a
 
      6th Sep 2006
Thank you very much. Now the next question: can a change the format for a
whole bunch of variables at once? (I tried the ways that made sense to me,
but obviously Access and I don't think alike.)


 
Reply With Quote
 
Steve Schapel
Guest
Posts: n/a
 
      6th Sep 2006
Teresa,

What do you mean by "variables"? Variables don't have a format. You
mean setting the Format property of a lot of form controls?

--
Steve Schapel, Microsoft Access MVP

Teresa wrote:
> Thank you very much. Now the next question: can a change the format for a
> whole bunch of variables at once? (I tried the ways that made sense to me,
> but obviously Access and I don't think alike.)
>
>

 
Reply With Quote
 
=?Utf-8?B?V2F5bmUtSS1N?=
Guest
Posts: n/a
 
      6th Sep 2006
Yes you can but MAKE A BACKUP 1st. If any of the numbers in the table are
not as the example you gave (1.200) - then you may delete them.

Make a backup and re-format that 1st just to make sure.



--
Wayne
Manchester, England.
Enjoy whatever it is you do


"Teresa" wrote:

> Thank you very much. Now the next question: can a change the format for a
> whole bunch of variables at once? (I tried the ways that made sense to me,
> but obviously Access and I don't think alike.)
>
>

 
Reply With Quote
 
=?Utf-8?B?VGVyZXNh?=
Guest
Posts: n/a
 
      6th Sep 2006
I meant changing the format for a number of fields at once (changing them all
to Fixed, for instance). I did them one at a time in the design view, but it
seemed like I was doing it "the hard way." It all works now, however. Thanks,
everyone!

"Steve Schapel" wrote:

> Teresa,
>
> What do you mean by "variables"? Variables don't have a format. You
> mean setting the Format property of a lot of form controls?
>
> --
> Steve Schapel, Microsoft Access MVP
>
> Teresa wrote:
> > Thank you very much. Now the next question: can a change the format for a
> > whole bunch of variables at once? (I tried the ways that made sense to me,
> > but obviously Access and I don't think alike.)
> >
> >

>

 
Reply With Quote
 
Steve Schapel
Guest
Posts: n/a
 
      6th Sep 2006
Teresa,

You can select multiple controls at once (hold Shift key while clicking
the controls, or alternativel drag the mouse across all controls you
want selected), and then you can set the Format property for all
selected controls at once.

--
Steve Schapel, Microsoft Access MVP


Teresa wrote:
> I meant changing the format for a number of fields at once (changing them all
> to Fixed, for instance). I did them one at a time in the design view, but it
> seemed like I was doing it "the hard way." It all works now, however. Thanks,
> everyone!
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop decimals and zeros when not needed =?Utf-8?B?aG9tMzcw?= Microsoft Access Forms 6 4th Oct 2007 08:22 PM
why do zeros after decimals drop out of excel =?Utf-8?B?QmMgQ3VyaW91cw==?= Microsoft Excel Worksheet Functions 3 12th Sep 2006 10:31 PM
why do zeros after decimals drop out of excel =?Utf-8?B?QmMgQ3VyaW91cw==?= Microsoft Excel Worksheet Functions 0 11th Sep 2006 10:39 PM
How do I get excel to display zeros at the end of my decimals? =?Utf-8?B?Q2hyaXNzeQ==?= Microsoft Excel Misc 1 4th Apr 2006 09:31 PM
decimals and zeros Kim Smith Microsoft Access Form Coding 1 29th Nov 2005 08:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:35 PM.