Crystal Reports - Suppressing a header in main report when sub-report is present -
good day everyone.
i'm running crystal reports 9.
i have report listing bunch of records, , sub report containing graph. suppress page header of main report, page sub-report (graph) shown.
i can't seem able think formula test presence of graph / sub-report suppress page header in main report with.
any advice appreciated.
hopefully subreport/graph in it's own section?
- insert new formula in first section of report (report header a):
global booleanvar no_header := false;
- insert new section right above subreport section 0 height.
- insert new formula in section:
global booleanvar no_header := true;
- insert new formula in subreport section:
global booleanvar no_header := false;
- in page header conditional suppression formula enter formula:
global booleanvar no_header;
you may have prefix of formulas whileprintingrecords;
and may have tweak suggestion little idea?
Comments
Post a Comment