I have this requirement in a PDF report,where i want to increment a counter value by 1 whenever the report overflows to next page(or TABPAGENO increments).
I am looking at TABPAGENO and trying to increment my counter variable.I tried using WITH as shown below.
COMPUTE COUNTER_VAL/I1 WITH TABPAGENO = &COUNTER_VAR +1;
As per my understanding with every change in value for TABPAGENo the counter value is incremented by using WITH.
It is not working as of now.
Is there any other alternative solution.?This message has been edited. Last edited by: FP Mod Chuck,
-DEFAULTH &CTR=17 TABLE FILE CAR PRINT CAR.CARREC.MODEL COMPUTE CVAL/I5 = &CTR + TABPAGENO; BY CAR.ORIGIN.COUNTRY NOPRINT BY CAR.COMP.CAR ON CAR.ORIGIN.COUNTRY PAGE-BREAK HEADING "<CAR.ORIGIN.COUNTRY " ON TABLE SET PAGE-NUM OFF ON TABLE SET ASNAMES ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLEMBEDIMG ON ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = warm, $ ENDSTYLE END
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
|Powered by Social Strata|