Printing just Page2 Problem

  • Thread starter Thread starter Gcook888
  • Start date Start date
G

Gcook888

I have an unbound sum control [Total] in the report footer which is printed on
page 2. It is summing a bunch of group subtotals. 10 group subtotals end up
on page 1 while 3 are on page 2. BTW [Total] has to be unbound because i
calculate it in VB.

I stuck in msgbox "groupPrint event" I can see what is happening. The 3 groups
on page 2 are added into [Total] again when i actually print JUST PAGE 2.

I am initializing [Total] to 0 in reportheader_print. So the report is ok if i
print the whole thing.

Please let me know can i fix this?

I just can't print the last page w/o 3 more group subtotals getting added in.
 
I have run across this before. In the Report Footer I set a "flag" variable to let me know
that I had been through the report one time and not to add anything else to the total if I
went through again. The "flag" variable will need to be a report level variable.
 
Subject: Re: Printing just Page2 Problem
From: "Wayne Morgan" (e-mail address removed)
Date: 8/29/03 7:30 AM Eastern Daylight Time
Message-id: said:
I have run across this before. In the Report >Footer I set a "flag" variable to let me >know
that I had been through the report one >time and not to add anything else to the >total if I
went through again. The "flag" variable will >need to be a report level variable.

Thanks again Wayne,

Gary
 
Back
Top