Solved

Format Percent

Posted on 2008-06-19
2
865 Views
Last Modified: 2012-08-13
I put an unbound field on the screen into which the user will enter a percent.  The percentage entered can have up to 3 significant digits.  Simple, right?

I put the text box on the screen and set the Format property to 'Percent'.  Initially I had the decimal places set to 3 and later changed it to 'Auto' but the behavior was the same in each case.

The issue is that I can't enter decimals.  it is quite possible that the percentage entered into this field will be something like 1.125 but when I enter 1.125 it shows as 112.50%.  My users are easily confused and I', sure they won't understand this.

I can set the property to 'Fixed' and decimals to 3.  That way when the user enters 1.125 that is what is displayed.  However, I thought it would be a nice touch and make the fiedl more intuitive if I showed the % sign.

Is there a way to set up a field with format 'Percent' such that when 1.125 is entered it shows as 1.125% (without any code manipulations for example: divide by 1000,  behind the scenes)
0
Comment
Question by:mlcktmguy
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
Kelvin Sparks earned 125 total points
ID: 21827930
Access 2007 has introduced the feature you seek. In the version you have, its either enter the amount & process & display behind the scenes or leave oout the % display and have it just outside the text box as a label.


Kelvin
0
 
LVL 22

Expert Comment

by:Kelvin Sparks
ID: 21827991
Just keep in mind if you store 1.25% as 1.25 and you have to use it in a formula or calculation to divide it by 100.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS Access, How to create variable 9 35
Save Selections in MS Access 3 26
Sharepoint list to Access database 9 42
Clear Current Value from Combobox 2 24
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question