Kbase 21743: Refresh/Reload a Page Programmatically in Actuate LRX Viewer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  04/02/2002 |
|
SUMMARY:
You might have designed an Actuate Report (ROD) to allow for a property of an object to change when it is clicked on.
Viewing the Report (ROI) in the Actuate LRX viewer and clicking on the object might not always physically display the change even if the property itself has assumed the new value.
EXPLANATION:
The physical change will not be seen until the page is actually refreshed or reloaded.
SOLUTION:
You need to refresh or reload the actual page.
To do this to a report in the LRX viewer, any of the paging commands
can be used from the ToolBar or MenuBar. For example, First Page, Previous Page, Next Page, or Last Page. These commands can also be given programmatically.
When the user wants the change to happen when an object is clicked on, add the lines of code below in the click method.
This will issue paging commands needed for refresh -- that is, to move to the next page and come back to the same page; thus issuing a refresh.
Dim iRpt as AcReportController
Set iRpt = New AcReportController
iRpt.AttachToThisreport()
iRpt.ShowNextPage()
iRpt.showprevpage()