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.

enter image description here

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

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -