Ramco Ramco

Ramco Ramco

  • 438
  • 3.4k
  • 542.5k

Formula Condition

Aug 30 2023 12:05 PM

Hi

  I have below code & i want if value in CurrentPage = 1 then Page Header should not get printed on pages > CurrentPage value.. Below formula is in Details Section.

whileprintingrecords;
booleanvar i;
numbervar CurrentPage;
if {#RTotal0} = {Command.No of Records} then
(
CurrentPage := PageNumber;
i:=true;
)
 

In Page header Suppress Conditon below is the Formula

whileprintingrecords;
booleanvar i;
numbervar CurrentPage;
if (i := true and pagenumber > CurrentPage) then true else false

Thanks


Answers (1)