473,327 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Can't change decimal places in format box.

This is a really basic question. I am taking a teach yourself
beginners course on Access 2003 and have run into a road block on one
practice. In a select query, I have created a simple calculation
field.

Markup:([Price]-[Cost])/[Cost]

which is to formatted as Percent with 0 Decimal places.

When I click into the Format box is am offered
Description...................
Format........................
Input Mask...................
Caption........................
Smart Tags..................

But..... no Decimal Places

My text and everything I have tracked down online indicates that
decimal places should be in that format box...

When I run the query the values in the table are all okay except that
the values in the Markup column are percentages with 2 decimal places.

What little something am I overlooking?

Feb 12 '07 #1
2 6954
Do this. create the query including your calculated field.
Format the calculated field (highlight field column, right click, format,
set as a percentage.
run your query. Go back to design view. Highlight field column. Right click
for properties and by magic the decimal property is there. Don't know why
that is - it just is.

"hunslair" <hu******@pldi.netwrote in message
news:11**********************@s48g2000cws.googlegr oups.com...
This is a really basic question. I am taking a teach yourself
beginners course on Access 2003 and have run into a road block on one
practice. In a select query, I have created a simple calculation
field.

Markup:([Price]-[Cost])/[Cost]

which is to formatted as Percent with 0 Decimal places.

When I click into the Format box is am offered
Description...................
Format........................
Input Mask...................
Caption........................
Smart Tags..................

But..... no Decimal Places

My text and everything I have tracked down online indicates that
decimal places should be in that format box...

When I run the query the values in the table are all okay except that
the values in the Markup column are percentages with 2 decimal places.

What little something am I overlooking?

Feb 12 '07 #2
On 12 Feb 2007 13:20:36 -0800, hunslair wrote:
This is a really basic question. I am taking a teach yourself
beginners course on Access 2003 and have run into a road block on one
practice. In a select query, I have created a simple calculation
field.

Markup:([Price]-[Cost])/[Cost]

which is to formatted as Percent with 0 Decimal places.

When I click into the Format box is am offered
Description...................
Format........................
Input Mask...................
Caption........................
Smart Tags..................

But..... no Decimal Places

My text and everything I have tracked down online indicates that
decimal places should be in that format box...

When I run the query the values in the table are all okay except that
the values in the Markup column are percentages with 2 decimal places.

What little something am I overlooking?
Markup:Format([Price]-[Cost])/[Cost],"#%")

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Feb 13 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Hank | last post by:
Hello, I am displaying numerical (single) values from a table into a list box using Access 2000. Although the format in the table is for three decimal places, the list box rounds all the columns...
5
by: | last post by:
Ok, I know this sounds bizarre and I regret to say it has me baffled. New decimal fields in tables will accept entry of decimal numbers but immediately change same into integers. Can someone...
8
by: nick | last post by:
printf("%lf",3.25); the result is 3.25000 i want the answer correct to 3 decimal places What should i do? thanks!
3
by: Mark | last post by:
I have a Decimal or a Double - your choice. I'd like to print the number as string with a specified number of decimal places. Let's say my number 110.5, and I'd like to capture it in a string...
1
by: martin | last post by:
Hi, I am having difficulty trimming any traling 0's from my decimal numbers. I store then in the database to 2 decimal places. This means that when they come back to my application they still...
4
by: Phil Mc | last post by:
OK this should be bread and butter, easy to do, but I seem to be going around in circles and not getting any answer to achieving this simple task. I have numbers in string format (they are...
11
by: MikeY | last post by:
Hi Everyone, I'm trying to extract my pricing from my Access.mdb. Developing WinForm C#. I've read previous posts on the subject, but I'm still confused. In Access my "Price" is of "Currency"...
3
by: paulquinlan100 | last post by:
Hi I have a couple of calculated fields in a report, i've set the Decimal Places property to 0 and the format to General Number, however when previewing the report it still comes up with a...
4
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I format a Number as a String with exactly 2 decimal places?...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.