I am wondering if it is possible to have a report generated by RS refresh periodically automatically. This could be realized by inserting a few lines of JavaScript to the report including the reload() function, but I do not know if there is anyway to do such thing.
Thanks in advance for any tip!
You could create an HTML page with an <iframe> in it and set the iframe src property to point to the report. Then add a http-equiv to the html page to refresh it however often you need. - RKS|||That is a good tip. Thanks!
I have just realized there is another issue. The page refreshing is different from clicking the "Refresh" button of the report when there are parameters. Page refreshing uses the default values of paramters, but the report "Refresh" button uses the chosen values. For example, suppose patient ID is a parameter and we would like to allow the user to choose a patient ID and the report would refresh itself every minute using that particular patient ID. Using page refreshing, we would need to create a report for each patient to achieve this. Any idea to address this?
|||There is an Autorefresh property of the report that refreshes an HTML view based on the entered property.In your designer, open the report, look at the report properties and you'll see it.|||
Perfect!!! Thanks a lot, Andy!
I have just tested it and it worked exactly the way we want.
No comments:
Post a Comment