Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Report Not displaying Negative numbers Post Reply Post New Topic
Author Message
MrUser
Newbie
Newbie


Joined: 06 Nov 2009
Online Status: Offline
Posts: 2
Quote MrUser Replybullet Topic: Report Not displaying Negative numbers
     Posted: 06 Nov 2009 at 7:42am
Please help:
 
I am using CR 8.5
 
I have a report that is trying to display debit and credit balances based on one field (account)
 
debit is calculated as:
if IsNull({Table1.account}) or {Table1.account} < 0 then 0.00 else {Table1.account}
 
Credit calculated as:
if IsNull({Table1.account}) or {Table1.account} > 0 then 0.00 else {Table1.account}
 
Having 2 people p1 and p2, if p1 and p2 accounts are both negative values, the report does not display any balances.
 
if one of the people has account as positive value and the other has a negative value, the report display just fine
 
if both have positive value for account, the report is also displayed just fine.
 
Thanks in advance for the help
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 06 Nov 2009 at 10:38am
I had this issue with CR 8.5.  Now if I can remember the fix. Smile
IP IP Logged
MrUser
Newbie
Newbie


Joined: 06 Nov 2009
Online Status: Offline
Posts: 2
Quote MrUser Replybullet Posted: 06 Nov 2009 at 11:02am
Please remember
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum