You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Description

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

Syntax

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

Remarks

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_

Example

* 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)
  • No labels