Description

The MOVEPAGES message is used to move a page or range of pages to the front of a report.

Parameters

ParameterTypeDescription of FieldsDefault
Start_PageIntegerThe starting page number to be moved.Null
End_PageIntegerThe ending page number to be moved.Null
To_FrontBooleanIf true will move the specified range to the front of the report.False
When moving a single page, the Start_Page and End_Page parameters should contain the same value.

Example

* The following example shows how to use the MOVEPAGES message.
 
declare function Set_Printer
 
* Move Pages 5 and 6 to the front of the report.
start_page = 5
end_page = 6
to_front = 1
 
stat = Set_Printer("MOVEPAGES",start_page,end_page,to_front)
 
* Move Page 7 to the back of the report.
start_page = 7
end_page = 7
to_front = 0
 
stat = Set_Printer("MOVEPAGES",start_page,end_page,to_front)
 
* Move Page 7 to the front of the report.
start_page = 7
end_page = 7
to_front = 1
 
stat = Set_Printer("MOVEPAGES",start_page,end_page,to_front)
  • No labels