Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8789

Re: Load Reports with saved data twice not refresh data

$
0
0

Hi Filippo,

 

It's because of this line:

 

rpt = New ReportDocument

 

You are create a new report object so it's loading the report off of disk again.

 

What you want to do is refresh the data and then call report.refresh. Make sure all values are filled in or it may prompt for missing info.

 

Due to caching you may need to close the first report and reload it again and then do what ever to set to the data source etc..

 

Don


Viewing all articles
Browse latest Browse all 8789

Trending Articles