Load page setup

Command group Flag affected Reversible Execute on client Platform(s)
Reports and Printing NO YES NO All

Syntax

Load page setup

Description

This command loads the page setup from the current report class and makes it the current page setup. Every report class has optionally a page setup stored with it, for use when the report is printed. The flag is set if there is a current report class and it contains a page setup. When used in a reversible block the previous page setup is restored once the method has finished.

The stored page setup for a report class never becomes the current page setup unless a Load page setup  command is issued.

Example

; Load the page setup for rMyReport
Set report name rMyReport
Load page setup
Print report