D
Darrell
I have a main report whose role in life is to contain 3 subreports and
display totals for each of these subreports and grand totals summing all
3. There are page break controls forcing page breaks between each subreport.
So, the structure is something like this:
MAIN REPORT
Main Report Header
Subtotal for subreport 1: ___
Subtotal for subreport 2: ___
Subtotal for subreport 3: ___
Grand Total: ___
SUBREPORT 1
page break
SUBREPORT 2
page break
SUBREPORT 3
Users can specify criteria which restrict the rows in the respective
record sources for all the reports. My problem arises when the user
selects criteria which returns no records for at least 1 of the
subreports. This results in 2 problems.
First, the affected subreport simply does not show up on the report at
all, leaving only a blank page forced by the page break control. Second,
both the subtotal control and the grand total control on the main form
are blank, like this...
MAIN REPORT
Main Report Header
Subtotal for subreport 1: ___
Subtotal for subreport 2: ___
Subtotal for subreport 3: Blank
Grand Total: Blank
SUBREPORT 1
page break
SUBREPORT 2
page break
Can someone help me with a conceptual approach to this? I need to have
the page break be somehow rendered ineffective and the total controls on
the main report show zero rather than blank. The NoData event for the
affected subreport does not fire.
Thanks in advance for any and all help.
Darrell
display totals for each of these subreports and grand totals summing all
3. There are page break controls forcing page breaks between each subreport.
So, the structure is something like this:
MAIN REPORT
Main Report Header
Subtotal for subreport 1: ___
Subtotal for subreport 2: ___
Subtotal for subreport 3: ___
Grand Total: ___
SUBREPORT 1
page break
SUBREPORT 2
page break
SUBREPORT 3
Users can specify criteria which restrict the rows in the respective
record sources for all the reports. My problem arises when the user
selects criteria which returns no records for at least 1 of the
subreports. This results in 2 problems.
First, the affected subreport simply does not show up on the report at
all, leaving only a blank page forced by the page break control. Second,
both the subtotal control and the grand total control on the main form
are blank, like this...
MAIN REPORT
Main Report Header
Subtotal for subreport 1: ___
Subtotal for subreport 2: ___
Subtotal for subreport 3: Blank
Grand Total: Blank
SUBREPORT 1
page break
SUBREPORT 2
page break
Can someone help me with a conceptual approach to this? I need to have
the page break be somehow rendered ineffective and the total controls on
the main report show zero rather than blank. The NoData event for the
affected subreport does not fire.
Thanks in advance for any and all help.
Darrell