====== MOVEPAGES Set_Printer Message ====== ==== Description ==== The MOVEPAGES message is used to move a page or range of pages to the front of a report. ==== Parameters ==== ^Parameter\\ ^Type^Description of Fields\\ ^Default\\ ^ |Start_Page|Integer|The starting page number to be moved.|Null| |End_Page|Integer|The ending page number to be moved.|Null| |To_Front|Boolean|If true will move the specified range to the front of the report.|False| \\ Note: 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)