Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Objects and Properties > REFRESHPAGE()
|
|
Purpose
|
.RefreshPage() allows you to re-display data for the Paging Cycle object.
|
Syntax
|
ObjectReference.RefreshPage()
|
Operation
|
ObjectReference is the Tag Name of the Paging Cycle object
|
Remarks
|
This method is ignored if the screen is in Add or Insert mode.
This method can only be used in After Write logic in the current Paging Cycle, and cannot be executed for any Paging Cycle except the current one.
The Paging Cycle data is re-displayed using the current value of the StartPagingSequence property (@SPSEQ) to determine the first record to be displayed. When the display is complete the value of the .CurPagingSequence property is used to set the current record. If that value is not set the value of .StartPagingSequence is used. It is equivalent to EOD followed by a re-display of the screen. The EOD works just as it would if entered in the current field of the screen. Under certain circumstances the EOD is converted to CANCEL according the existing processing rules.
|
Example
|
To update the Paging Cycle with the Tag Name of OrderScreen:
OrderScreen.RefreshPage()
|
Comment on this topic
Topic ID: 510026