Positive and Negative Amounts

Qualinwraith

Registered User.
Local time
Today, 23:43
Joined
Dec 12, 2005
Messages
26
I need to make a coupel of statements that display the total (sum) of negative amounts and positive amounts from a single list of results which comtains both negative and positive values. The two answers need to be displayed in the footer of a report
 
I've opened the file and the sum of positive values and negative values is empty. What formulas do I need?
 
try something like:
LessThan0: Sum(iif([yourfield]<0,[yourfield],0)
MoreThan0: Sum(iif([yourfield]>0,0,[yourfield])

Seasons greetings from amsterdam

The Mailman
 
Thanks a lot and seasons greetings from Malta! It worked successfully! Would it be possible to divide the positive amounts and negative amounts when making a report view?
 
You can do which ever calculations on these totals you want on the report itself
 
When I said divide I meant having two sections with the first listing the positive and the seconds the negative ones
 
For that simply create an Iif([Yourfield]<0,"Neg","Pos")
Then "group by" your report on this field...
 
How do I have to specify this field in the Query creator? it's giving me a few bugs.
 
its telling me that the expression entered is too complex and that I should try to simplify it. What do 'I need to type in a a field name?
 
For the sake of argument... What did you change to make it work?
 

Users who are viewing this thread

Back
Top Bottom