Solved

partial results in Crystal Report 4.6

Posted on 2000-03-05
2
236 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 250 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

737 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