?
Solved

partial results in Crystal Report 4.6

Posted on 2000-03-05
2
Medium Priority
?
238 Views
Last Modified: 2013-12-25
Hi,
I want to make a Report in Crystal Reports 4.6 like this:

Product_Id 00045
Moves:
  Date  In   Out   Partial R.
  12/02 10    0       10
  13/02  0    5        5
  14/02  0    4        1

Product_id  00046
Moves:
  Date  In   Out   Partial R.
  11/02 12    0       12
  14/02  0    3        9
  15/02  3    0       12

Well, the problem is: I don't know how to show  the partial Result column.

When I use the Previous function in a formula:
@fPartialResult = In - Out + Previous(@fPartialResult)
I get a error, the formula can't call itself.
If I use another formula for trick, the error , the formula can't call itself directly or indirectly appears.

I need HELP!
0
Comment
Question by:cero
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 750 total points
ID: 2587012
Create the formula field as:

WhilePrintingRecords;
numberVar Partial;
Partial := Partial + {Table.In} - {Table.Out};

This will give a running total.
0
 
LVL 2

Author Comment

by:cero
ID: 2606758
I will test.
Thank you.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month12 days, 9 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question