Oracle Application Express (MOSC)

MOSC Banner

Need to Change Interactive Report Region Title When Refreshed

edited Jan 27, 2012 1:17AM in Oracle Application Express (MOSC) 7 comments
 I have code working to periodically refresh a Interactive Report on a page. I have the following code in the page header:
<script type="text/javascript">
//automatic reload IRR 
function fnc_reloadIRR () {

 gReport.search('SEARCH'); 
 window.setTimeout(fnc_reloadIRR, 10000);

};
 
// this means the code execution starts after 10 seconds
 window.setTimeout(fnc_reloadIRR, 10000);
</script>

This is working great. The title of the report region is "Intraday Color Code Test - &P1_LAST_REFRESH_TIME."

I have a hidden page item named P1_LAST_REFRESH_TIME on the page that contains the last time the report was refreshed. I am struggling with resetting this value when the report region is refreshed. ( May not even need this item!)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center