D
Derek Brown
Hi All
How do you refer to a sub reports HasData property from a main form?
I am trying to hide either the report header on a main report or the header
of the subreport depending on wether the subreport HasData or not. When the
subreport has data the heading of the subreport needs to be visible. If
subreport has no data then the heading of the main report needs to be
visible.
On the main form and subform each heading only shows a text box with the day
and date. The
problem is I need to show one or the other depending on wether the subreport
has or has not got data.
How do you refer to a sub reports HasData property from a main form?
I am trying to hide either the report header on a main report or the header
of the subreport depending on wether the subreport HasData or not. When the
subreport has data the heading of the subreport needs to be visible. If
subreport has no data then the heading of the main report needs to be
visible.
On the main form and subform each heading only shows a text box with the day
and date. The
problem is I need to show one or the other depending on wether the subreport
has or has not got data.