Crystal Reports: global variable running total not displaying in header

Posted by phill on Stack Overflow See other posts from Stack Overflow or by phill
Published on 2009-11-02T16:35:07Z Indexed on 2010/05/23 19:20 UTC
Read the original article Hit count: 386

Filed under:

Using Crystal Reports I'm trying to display the running total of a database field in the header where all the labels are.

I've attempted to do this by placing the running total (RTversion) into a formula field with the following:

Shared stringvar CurrentVers; 
CurrentVers := {#CurrentVers};

and then in the page header section I have the following:

Shared stringvar CurrentVers; 
EvaluateAFter({#currentVers}); 
CurrentVers;

with {#CurrentVers} running the 1st largest number.

Is this incorrect?

Update: The goal is to display the latest version in the header near the labels to show what the current verseion is for comparison.

© Stack Overflow or respective owner

Related posts about crystal-reports