Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: While printing records count ?? Post Reply Post New Topic
Author Message
jbalbo
Senior Member
Senior Member
Avatar

Joined: 17 Feb 2011
Online Status: Offline
Posts: 219
Quote jbalbo Replybullet Topic: While printing records count ??
    Posted: 31 May 2013 at 3:03am
Hi

Ok I remembered I ned to do something like this to get a count in the group footer,
But it keeps resetting? I'm sure I have it placed wrong?

I have this formula in the detail section
The detail section is surpressed
WhileprintingRecords;
if {@ClientIdent} = {CLIENT_IDENTIFIER_TYPE.Code}
then
  Shared NumberVar Counter := Counter + 1;

I have the reset in the header
WhileprintingRecords; Shared NumberVar Counter := 0;

My detail shows the count but is 0 in the footer?

Thanks
Joe




IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 04 Jun 2013 at 12:08pm
do you have a display in the footer like:
shared numbervar Counter;
Counter

If the detail is showing the counter increasing, it should display in the footer...unless you have the reset in say the page header and the footer is printed on a new page.
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.031 seconds.