I am using Crystal Reports 2008 and the reports are published to Crystal Reports Server 2008. I have a main report that includes 4 subreports. Each page of the main report displays a security message in the Page Header and Page Footer. I have now received a request that when a drilldown on subreport is done, that each page of the subreport displays the security message in the header and footer.
I can get the subreports to display the header by creating a group (with the Option Repeat Group Header on Each Page selected) based on the formula WhileReading Reocrds; " ", then suppress the section using a shared variable
shared StringVar Header;
if Header = "Show" then
true
else
false
which is used in the Subreport Format, Subreport Preview Tab Caption formula of
shared StringVar Header := "Show"
This is all working fine for the "page headers", but how do I achieve the same for a Page Footer?
Thanks
Tweetie
I can get the subreports to display the header by creating a group (with the Option Repeat Group Header on Each Page selected) based on the formula WhileReading Reocrds; " ", then suppress the section using a shared variable
shared StringVar Header;
if Header = "Show" then
true
else
false
which is used in the Subreport Format, Subreport Preview Tab Caption formula of
shared StringVar Header := "Show"
This is all working fine for the "page headers", but how do I achieve the same for a Page Footer?
Thanks
Tweetie