Visual RPG Language Reference  

ENDCYCLEPRINTATTR

Defines the end of a cycle's print attributes. 

ENDCYCLEPRINTATTR 

Remarks

ENDCYCLEPRINTATTR must be the last statement in a  BEGCYCLEPRINTATTR.  The BEGCYCLEPRINTATTR section of migrated code controls printing.  Each HeadingSpec, DetailSpec and TotalSpec command contain the conditions in which each is printed.  

Example

BegCyclePrintAttr
   headingspec   CpyHdr   cond(*in1p *or *inOF)
   headingspec   OrdHdr   cond(*in77) fetchOverflow(*yes)
   headingspec   DetdHdr  cond(*in77) fetchOverflow(*yes)
   detailspec    PDetail  cond(*in42) fetchOverflow(*yes)
   totalspec     DetTot   cond(*inL1 *and detInd) fetchOverflow(*yes)
   totalspec     BoHdr    cond(*inL1 *and detInd *and *in43) fetchOverflow(*yes)
   detailspec    PBo      cond(*in43) fetchOverflow(*yes)
   totalspec     BoSubT   cond(*inL1 *and boInd) fetchOverflow(*yes)
   totalspec     BoTot    cond(*inL2 *and boInd) fetchOverflow(*yes)
   totalspec     OrdTot   cond(*inL2) fetchOverflow(*yes)

See Also

  BEGCYCLEPRINTATTR
   DCLFMTCYCLEATTR
   HEADINGSPEC
   DETAILSPEC
   TOTALSPEC