Quantcast
Channel: SCN : Popular Discussions - Code Exchange
Viewing all articles
Browse latest Browse all 1399

Problem Clearing the Report Viewer

$
0
0

I am using CR in VS 2012. To create a report I am using a tab control on tab one I give the user options to select and then I get the necessary data, load a data set object and run the report viewer and all is well. If the user goes back to the options tab and makes new selections the report viewer shows the prior report and not the new one. If I rerun the options a second time I get the correct report.

 

I have researched this issue but can not find a method to clear or reset the report viewer so that it will accept the newer data. I am declaring and disposing of the Report within the calling sub so I do not see why the Report Viewer is retaining it.

Thanks,


Viewing all articles
Browse latest Browse all 1399

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>