How to refresh subreport on Reporting Services

Flavio CF Oliveira picture Flavio CF Oliveira · Jun 15, 2011 · Viewed 10.8k times · Source

Is there any way to refresh a subreport in Reporting Services?

When I change something on a subreport file and back to the main report, I have to delete the subreport object and include a new instance again to get my preview updated.

Is there any way to update the sub report object in the main report without having to delete and include the same again?

Answer

patelos picture patelos · Sep 23, 2011

Actually I think the answer is to ensure that you preview or rebuild the sub-report before you view it in the parent report.
The simplest way to rebuild a subreport is to preview it in BIDS, but you can also right-click | build on the report in the Solution Explorer. Alternatively, rebuild your whole report project if that's easier than rebuilding individual reports.