Crystal Reports 2013 14.1 - How to suppress Group Header? -
i have group header 2a & 2b 2a has empty text box cause line break, don't want render section whenever occurs first record on each page. able suppress on first page: supress -> pagenumber = 1, appears on other pages on top. please how stop this.
i used variable.
inside suppress function group, have:
whileprintingrecords; shared numbervar isprintedonthispage; (isprintedonthispage = 0) ;
then have function named gf2_printedonthispage code:
whileprintingrecords; shared numbervar isprintedonthispage:=1;
and in group footer both sections , b, have formula field inserted , it's suppressed, nothing prints.
also have formula named ph_printed containing:
whileprintingrecords; shared numbervar isprintedonthispage:=0; // reset page
and copy of value in pageheader section, suppressed doesn't show/print.
Comments
Post a Comment