Report Design
 Crystal Reports Forum : Crystal Reports .NET 2003 : Report Design
Message Icon Topic: Subtotal of a column for a single page Post Reply Post New Topic
Author Message
AngeloF
Newbie
Newbie
Avatar

Joined: 13 Apr 2012
Location: Italy
Online Status: Offline
Posts: 18
Quote AngeloF Replybullet Topic: Subtotal of a column for a single page
    Posted: 13 Apr 2012 at 5:47am
Hi all !

I have a question for you :

How Can I insert a total for a column in the footer of each page?

thanks for all suggestions
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 17 Apr 2012 at 6:06am
some would say a running total, I would say shared variables...they do the same thing.  For some reason, running totals confuse me, DBlank uses them all the time.
 
shared variables would be something like:
page header formula:
shared numbervar tot:=0;
"" //hides the output
 
detail formula:
shared numbervar tot;
tot := tot + {table.field};
"" //again to hide the running total output.
 
page footer formula:
shared numbervar tot;
tot;
 
 
HTH
IP IP Logged
AngeloF
Newbie
Newbie
Avatar

Joined: 13 Apr 2012
Location: Italy
Online Status: Offline
Posts: 18
Quote AngeloF Replybullet Posted: 17 Apr 2012 at 10:15pm
Originally posted by lockwelle

some would say a running total, I would say shared variables...they do the same thing.  For some reason, running totals confuse me, DBlank uses them all the time.
 
shared variables would be something like:
page header formula:
shared numbervar tot:=0;
"" //hides the output
 
detail formula:
shared numbervar tot;
tot := tot + {table.field};
"" //again to hide the running total output.
 
page footer formula:
shared numbervar tot;
tot;
 
 
HTH
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.035 seconds.