Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Formula field question Post Reply Post New Topic
Author Message
ace213
Newbie
Newbie


Joined: 13 Apr 2010
Online Status: Offline
Posts: 2
Quote ace213 Replybullet Topic: Formula field question
    Posted: 13 Apr 2010 at 11:43am
Hello,
 
I've designed a report which contains ITEM, MNTHLY_PMNT, and ORIG_AMT fields. Each ITEM has multiple rows for MNTHLY_PMNT and ORIG_AMT.
 
I'm trying to add a formula field ( REM_BAL) that will output the following.
- for the first row of each new ITEM, subtract MNTHLY_AMT from ORIG_AMT
- for following rows for the same ITEM, subtract current row's MNTHLY_AMT from the previous row's REM_BAL.
 
I have created a global function and tried applying my limited knowledge to figure out some logic, but that didnt get me anywhere. I'd appreciate it if someone could guide me through this.
 
Thanks
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 13 Apr 2010 at 11:58am
Have you tried having a running total for {MNTHLY_AMT} and substract that from {ORIG_AMT}.  It appears that this report would be grouped by {ITEM}, thus your running total would be reset by that group.
 
I hope this helps.
IP IP Logged
Post Reply Post New Topic
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



This page was generated in 0.016 seconds.