ABSOLUTE (set fixed-position printing)

Top  Previous  Next

 

ABSOLUTE

The ABSOLUTE attribute (PROP:ABSOLUTE) ensures that the DETAIL, or group HEADER or FOOTER structure (contained within a BREAK structure), always prints at a fixed position on the page. When ABSOLUTE is present, the position specified by the x and y parameters of the structure's AT attribute is relative to the top left corner of the page. ABSOLUTE has no effect on following structures printed without the ABSOLUTE attribute.

Example:

CustRpt REPORT,AT(1000,2000,6500,9000),THOUS

         HEADER

          !structure elements

         END

CDetail1  DETAIL,AT(0,0,6500,1000)

          !structure elements

         END

CDetail2  DETAIL,AT(1000,1000,6500,1000),ABSOLUTE !fixed position detail

          !structure elements

         END

       END