Re: Getting a Negative Value in a Sum
- From: "Lynn Trapp" <ltrapp_NOSPAM@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 9 Aug 2005 14:32:07 -0500
Nick,
I gather that [Service Provider Participation] is a "Yes/No" field. If that
is the case then you need to realize that real value behind a "Yes" in that
field is -1. Therefore, since you are only asking for the sum of the "Yes"
values, you will always get a negative number. Try the following instead.
=Abs(Sum([Service Provider Participation]="Yes"))
--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Access Junkie List:
http://home.bendbroadband.com/conradsystems/accessjunkie.html
"Nick" <Nick@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2AEFD1DD-6222-4966-BF9E-C32FC0593917@xxxxxxxxxxxxxxxx
> When I use the following expression =Sum([Service Provider
> Participation]="Yes") in a report I get the right number but with a
> negative
> (-) in front of it? Appreciate any ideas.
.
- References:
- Getting a Negative Value in a Sum
- From: Nick
- Getting a Negative Value in a Sum
- Prev by Date: Getting a Negative Value in a Sum
- Next by Date: Re: txt box to include the info found in 3 other txt boxes
- Previous by thread: Getting a Negative Value in a Sum
- Next by thread: printing tiffs using XP and O2003
- Index(es):
Relevant Pages
|