Visual RPG Language Reference  

BEGPRINTATTR

Defines the beginning of a cycle's print attributes. 

BEGPRINTATTR 

Remarks

The BEGPRINTATTR section of migrated code controls printing.  Each HeadingSpec, DetailSpec and TotalSpec command contain the conditions in which each is printed.  

The BEGPRINTATTR section must end with an ENDPRINTATTR.

Example

BEGPRINTATTR
   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)
ENDPRINTATTR

See Also

   DCLFMTCYCLEATTR
   ENDPRINTATTR
   HEADINGSPEC
   DETAILSPEC
   TOTALSPEC