Re: Percentages...gone awry.
- From: "Dirk Goldgar" <dg@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 6 Dec 2005 00:08:43 -0500
"jsc3489" <jsc3489@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:21F74DBF-7056-47CB-97FF-8BB95DA39D47@xxxxxxxxxxxxx
> I have a simple form that won't calculate anything I put in as
> expressions (another story) but i also have a few precentage fields.
> I try to put in 0.3 and it goes back to 0.00%. I put in 0.63 and it
> returns 100.00%?!?!?! I'm so donfangled mad I can spit nails.
> W...T...F...? AAARRRGGGHHH!!!!!! Oh, and I HAVE to use #%^@ Access,
> that's what my boss wants. I have it working wonderfully in Excel.
>From the sound of it, you've defined your data fields as one of the
integer types; probably Long Integer, but maybe Integer or even Byte.
Integers have no decimal places, by definition, so if you put in 0.3 it
rounds to 0, and if you put in .63 it rounds to 1 (100%).
Change the Field Size property for those fields to Single or Double,
depending on what sort of precision you need.
Access will treat you very nicely if you just tell her what you want.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
.
- Follow-Ups:
- [OT] Re: Percentages...gone awry.
- From: Fred Boer
- [OT] Re: Percentages...gone awry.
- Prev by Date: Re: Subform to show same record as Controling Form
- Next by Date: Re: listbox in access 2000+
- Previous by thread: RE: Percentages...gone awry.
- Next by thread: [OT] Re: Percentages...gone awry.
- Index(es):
Relevant Pages
|
Loading