Empty sub-report

  • Thread starter Thread starter Jonathan Blitz
  • Start date Start date
J

Jonathan Blitz

I have a report with a sub-report in it's details section.
All is ok when there is data in the sub-report. However, if there is no data
I get an empty page instead of no page at all (as I would expect).
Is this how it works or is there something I haven't done?

--
Jonathan Blitz
AnyKey Limited
Israel

"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."
 
The empty page is coming from your main report, not the subreport. Do you
have the subreport set to Can Shrink?
 
Yes I do have CanShrink set.

--
Jonathan Blitz
AnyKey Limited
Israel

"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."
 
Without knowing more about your report setup, I can't provide much more
assistance. You could probably determine the HasData property of the
subreport and if this returns false then cancel the printing of the section.
 

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

Back
Top