Blank page in A97

V

Vladimír Cvajniga

Hi,

haven't been here for ages... :-/

I have a problem with A97 report with these sections:
Header (Height=0)
PageHeader
Group1_Footer (with sum)
Detail
PageFooter (with sum)
Footer (with sum: grand-total)

In most cases users do NOT want to print grand-total so I set Footer to
FALSE. It becomes TRUE only if a global variable is set to TRUE.

in module:
Public PrintTotals as Boolean

in report's module, Private Sub Report_Open:
ReportFooter.Visible = PrintTotals


My problem is that (probably due to Group1 totals) A97 always generates a
"Footer Page":
PrintTotals = TRUE:
PageHeader, Footer and PageFooter are visible
This performs (almost) as expected.

PrintTotals = FALSE:
PageHeader and PageFooter are visible, no other section visible
I don't want this page to be printed at all! How do I do this?

TIA.

Vlado
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top