I have been away from MS Access for quite a few years and am starting over on
my skills. I have created a field in a table that is for whole number
percentages from 1 to 100, but when I enter any whole number, two zeros are
automatically added, so 70% becomes 7000%.
It's probably obvious to most of you, so perhaps someone could jog these
frozen brain cells.
Carl Rapson - 29 Mar 2007 15:35 GMT
In Access the percent data type is expected to be a value between 0 and 1.
You'll need to either divide your field value by 100 or change how the value
is being stored.
Carl Rapson
>I have been away from MS Access for quite a few years and am starting over
>on
[quoted text clipped - 5 lines]
> It's probably obvious to most of you, so perhaps someone could jog these
> frozen brain cells.
Jamie Collins - 29 Mar 2007 16:25 GMT
On Mar 29, 3:35 pm, "Carl Rapson" <mr.mxyzp...@newsgroups.nospam>
wrote:
> In Access the percent data type is expected to be a value between 0 and 1.
Misstatement, methinks. There is no percent data type I know of.
Jamie.
--
Carl Rapson - 30 Mar 2007 17:28 GMT
Right, thanks. I was thinking of the Format of the control on the form.
Carl Rapson
> On Mar 29, 3:35 pm, "Carl Rapson" <mr.mxyzp...@newsgroups.nospam>
> wrote:
[quoted text clipped - 6 lines]
>
> --
KARL DEWEY - 29 Mar 2007 15:38 GMT
Percent is a fraction - 50% equals half or 0.5 but is displayed as a whole
number. So to enter 70% your field must be able to handle fractions and you
would enter .7 for display of 70&.

Signature
KARL DEWEY
Build a little - Test a little
> I have been away from MS Access for quite a few years and am starting over on
> my skills. I have created a field in a table that is for whole number
[quoted text clipped - 3 lines]
> It's probably obvious to most of you, so perhaps someone could jog these
> frozen brain cells.