Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / March 2007

Tip: Looking for answers? Try searching our database.

entering percentages in table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Galen Dean - 29 Mar 2007 05:20 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.