A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to show a negative number on the table



 
 
Thread Tools Display Modes
  #1  
Old April 24th, 2007, 05:49 PM posted to microsoft.public.access.tablesdbdesign
AccessDB
external usenet poster
 
Posts: 23
Default How to show a negative number on the table

I have a clolumn that I want to show a negative number, but Access
shows 0.00%.
Here is the equation that I'm working from.

Unit Price Change = (Proposed Price - Current Price)/Current Price

So Example would be:
Unit Price Change = (378.62 - 382.44)/382.44


This should give us a -1%, But Access is showing 0.00%
May I please get some help on this matter. Thank you.

  #2  
Old April 24th, 2007, 06:42 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default How to show a negative number on the table

First issue ... it is rarely necessary to store a calculated value in a
table. ... and there are some very good reasons NOT to. If you need a
calculated value (e.g., [percentage change], calculate it in a query.

Second point ... there's a good chance the underlying data field has been
defined as an integer, but formatted to display percentage to two decimal
places. Integers have no decimal places, no matter how many you show.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"AccessDB" wrote in message
oups.com...
I have a clolumn that I want to show a negative number, but Access
shows 0.00%.
Here is the equation that I'm working from.

Unit Price Change = (Proposed Price - Current Price)/Current Price

So Example would be:
Unit Price Change = (378.62 - 382.44)/382.44


This should give us a -1%, But Access is showing 0.00%
May I please get some help on this matter. Thank you.



  #3  
Old April 24th, 2007, 06:48 PM posted to microsoft.public.access.tablesdbdesign
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default How to show a negative number on the table

What kind on number is the field?
--
KARL DEWEY
Build a little - Test a little


"AccessDB" wrote:

I have a clolumn that I want to show a negative number, but Access
shows 0.00%.
Here is the equation that I'm working from.

Unit Price Change = (Proposed Price - Current Price)/Current Price

So Example would be:
Unit Price Change = (378.62 - 382.44)/382.44


This should give us a -1%, But Access is showing 0.00%
May I please get some help on this matter. Thank you.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.