Removing Subreport from Main Report

V

Validlyte

Hi All~

I have a main report that contains 6 subreports. Each subreport has a graph
in the detail section and information in the report header (which is needed
to clarify each graph). If there is no data in the graph, I want to remove
the entire subreport (and basically allow the one below to "move up"). I
have tried playing with the NoData event of the subreport but since there is
info in the report header it does not ever seem to work. I think i need some
type of code on the OnOpen event of the main report that verifies if there is
data in the subreport graph and if not removes the subreport.

Can this be done?
Thanks
Mat
 
V

Validlyte

Thanks ~
I did try that but since the Report Header Information must be there the
report will not shrink to the point of "disappearing"

Mat
 

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