Writing Code
 Crystal Reports Forum : Crystal Reports .NET 2003 : Writing Code
Message Icon Topic: Save record infro from one detail line to the next Post Reply Post New Topic
Author Message
wan2fly99
Newbie
Newbie


Joined: 06 May 2010
Online Status: Offline
Posts: 15
Quote wan2fly99 Replybullet Topic: Save record infro from one detail line to the next
    Posted: 15 Jun 2010 at 6:26am
I need to produce a report  that will calculate values based on previous record field value and current record field value

Can I store a field value say in a variable and then on the next detail line record have it accessed  so I can say subtract current field value - previous field value from previous detail line?

Where can I define this globial variable ?

Any help is really appreciated
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 15 Jun 2010 at 8:38am
In a formula.  I normally use shared variables.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 15 Jun 2010 at 11:44am
Also I forgot to mention there is a next and previous function.  These might be useful for what you are doing.
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.030 seconds.