Set CurrentPageNumber

CurrentPageNumber

The predefined parameter CurrentPageNumber contains current page number used by AIMMS when printing print pages.

Parameter CurrentPageNumber;

Definition

The predefined parameter CurrentPageNumber contains current page number used by AIMMS when printing print pages.

Updatability

AIMMS will automatically reset the value CurrentPageNumber to 1 at the following times:

The value of CurrentPageNumber can 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