I just want a report to refresh itself after 5 seconds.
I add this to the region-footer:
But when the region gets refreshed…. this region-footer gets executed again…. hence: a refresh every 5 seconds.
$a_report takes these parameters:
- the region_id that needs to be refreshed. (apex puts an ‘R’ in front of it. the substring(1) removes the ‘R’ again)
- the 1st record to show
- the last record to show
- the number of records to show
I hope this helps.