QUESTION:
Need report with structure like below
Page header
Report header 1a
Report header 1b
Report header 1c
Detail
Report footer 1a
Report footer 1b
Report footer 1c
Page footer
There are few details in the Page Footer and is repeating in each page.
Now I want to suppress Page Footer when ever Report Footer 1c is displayed.
SOLUTION:
Create formula1 with the below code
WhilePrintingRecords;
Global numberVar inc := 0;
Place this in Report header and suppress
Create formula2 with below code
WhilePrintingRecords;
Global numberVar inc := 1;
place this in Report Footer 1c
Now write a suppress logic in Page footer
Global numberVar inc;
if inc = 1 then true else false;
If it doesn't work, try to move the 2nd formula to different sections and see(your suppress logic will not be changed in the section, try to move the formula only to different sections and test).