guides:programming:programmers_reference_manual:margins_run_report_keyword

MARGINS

Use MARGINS to specify the margin for pages within a report.

MARGINS "Left", "Top", "Right", "Bottom"

The default margins for all four sides is .5 inches.

Margins has the following parameters:

ParameterDescription
LeftA number indicating the width of the margin on the left hand side of the paper, in the default units of measure (Inches or millimeters)
TopA number indicating the width of the margin on the top edge of the paper, in the default units of measure (Inches or millimeters)
RightA number indicating the width of the margin on the right hand side of the paper, in the default units of measure (Inches or millimeters)
BottomA number indicating the width of the margin on the bottom edge of the paper, in the default units of measure (Inches or millimeters)
* In this example, the left and right margins are set to
* half an inch, while the top and bottom are set to an
* inch

 

Declare Subroutine Run_Report

Stmt = 'LIST CUSTOMERS CUSTOMER_NAME CITY STATE ZIP '

stmt:= 'MARGINS .5,1,.5,1'

 

Run_Report("",Stmt)
  • guides/programming/programmers_reference_manual/margins_run_report_keyword.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1