Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: I want to reset formula at start of each page Post Reply Post New Topic
Author Message
qasimali84
Newbie
Newbie
Avatar

Joined: 14 Oct 2008
Location: Pakistan
Online Status: Offline
Posts: 27
Quote qasimali84 Replybullet Topic: I want to reset formula at start of each page
    Posted: 23 Oct 2008 at 3:05am
I want to reset formula values to Zero at each page.

Plz help me
IP IP Logged
Savan
Senior Member
Senior Member
Avatar

Joined: 14 Dec 2007
Location: India
Online Status: Offline
Posts: 162
Quote Savan Replybullet Posted: 23 Oct 2008 at 5:19am
you can do this by using shared variable. like if u want to count no of records per page then create two formulas
 
"initval " to declare as shared variable which has syntax
shared numbevar reccount := 0;
 
place "initval" in page header so that it is reset to 0 for each page
 
and create one more formula "countrec" which has syntax
shared numbervar reccount := shared numbervar reccount + 1;
 
place "countrec" in detail section.
Thanks
Savan
IP IP Logged
qasimali84
Newbie
Newbie
Avatar

Joined: 14 Oct 2008
Location: Pakistan
Online Status: Offline
Posts: 27
Quote qasimali84 Replybullet Posted: 27 Oct 2008 at 2:23am
Bundle of Thanks for Solving my problem.

QASIM
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.016 seconds.