Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reset formula not working correctly 1

Status
Not open for further replies.

galleyne

MIS
Sep 5, 2002
6
0
0
BB
Hi

I am using Crystal 8.5 and doing a manual reset of a variable i in my group header which tracks different currencies. I also start a new page for each new currency. The problem that I am having is that some of my currencies have a lot of transactions that go over several report pages. Once this happens i is reset although the currency has remained the same.

I was just wondering if anyone has had this same problem.
 
You're probably have the 'Repeat Group Header on each page' option set. You'll need to account for that in your formula:

WhilePrintingRecords;
VarType YourVariable;
If not InRepeatedGroupHeader Then
YourVariable := 0;

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top