SRW.GET_PAGE_NUM
built-in functionThis function returns the current page number. This is useful when you want to use the page number in the field's Format Trigger property.
SRW.GET_PAGE_NUM (page_num);
Parameters |
Description |
|
Is the variable in which you want to place the current page number. |
SRW.GET_PAGE_NUM
is only meaningful in a format trigger. It has
no effect when entered in other places.
Suppose you want to perform a computation based upon a page number. In the
field's Format Trigger, you could use the SRW.GET_PAGE_NUM
function:
BEGIN
DECLARE PAGE_NUM NUMBER;
BEGIN
SRW.GET_PAGE_NUM (page_num);
SRW.SET_FIELD_NUM (0, page_num + 3);
END;
END;
About the
Reports Builder built-in package (SRW
)
Copyright © 1984, 2005, Oracle. All rights reserved.