| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| Report parameters | NO | NO | NO | All |
| Measurement in cms | If specified,the measurement parameter is a value in centimetres rather than inches |
This command specifies the top margin for the current report class. It overrides $topmargin until such time as the current report is reset.
# Prompt user and set appropiate margins
Set report namerMyReport
Yes/No message{Print on metric A4 paper?}
If flag trueSet bottom margin(Measurement in cms)2.34Set top margin(Measurement in cms)1.2
ElseSet bottom margin1.0Set top margin1.0# Default measurement is inches
End If
Print report
Set report namerMyReport## the settings for rMyReport are now reverted
# Alternatively, you can use notation to set the top margin
Do$clib.$reports.rMyReport.$topmargin.$assign(1.0)