Print Page | Close Window

Save record infro from one detail line to the next

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Writing Code
Forum Discription: .NET 2003 programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=10259
Printed Date: 18 May 2024 at 4:20pm


Topic: Save record infro from one detail line to the next
Posted By: wan2fly99
Subject: Save record infro from one detail line to the next
Date 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



Replies:
Posted By: kevlray
Date Posted: 15 Jun 2010 at 8:38am
In a formula.  I normally use shared variables.


Posted By: kevlray
Date 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.



Print Page | Close Window