I was wondering about the best practice for integrating a refresh button into a report. Probably going to label it as "Recalculate" as that's what it will be doing, but I'm curious about the best way to get this added.
Thanks,
-R
I was wondering about the best practice for integrating a refresh button into a report. Probably going to label it as "Recalculate" as that's what it will be doing, but I'm curious about the best way to get this added.
Thanks,
-R
You can add a refresh button by calling JavaScript window.location.reload(). To add that as a button, you can use:
select 'dbr.purehtml', 'Recalculate';
--
myDBR Team
I'm getting an error when I use this exact code. Is there a variable or something I need to add to the code as given?
No errors in the code. You are probably getting the error from somewhere else. What is the error you are getting?
--
myDBR Team
The requested URL /mydbr/window.location.reload() was not found on this server.
--
Ah sorry, there was an error. Forum software is playing it's tricks.
The link should state "javascript:window.location.reload()"
--
myDBR Team
Working great. Much appreciated.
You must log in to post.