- Set CurrentPageNumber
CurrentPageNumber
The predefined parameter CurrentPageNumber contains current page
number used by AIMMS when printing print pages.
Parameter CurrentPageNumber;
Definition
The predefined parameter
CurrentPageNumbercontains current page number used by AIMMS when printing print pages.
Updatability
AIMMS will automatically reset the value
CurrentPageNumberto 1 at the following times:
before printing a print page using the File-Print menu,
before printing a print page using the
PrintPagefunction outside of a pair of calls to the functionsPrintStartReportandPrintEndReport, andjust after calling the function
PrintStartReport.The value of
CurrentPageNumbercan be modified programmatically from within the AIMMS model.
Note
According to the list of rules above, modifying the value of
CurrentPageNumber will only have an effect of the page numbers
printed on print pages within a pair of calls to PrintStartReport and
PrintEndReport.
See also
The functions PrintPage, PrintStartReport, PrintEndReport. Print pages are discussed
in Print configuration