Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Load Reports with saved data twice not refresh data

$
0
0

Hi,

I have a program that load and print rpt file with saved data inside. I'm usign VS2010 with CR2010. I load and print report with:

 

rpt.Load(strFileName))

rpt.PrintToPrinter(Copies, True, 0, 0)

 

If I load and print reports, modify data inside and load and print again the second action use  the data of first load.

If I use the follow instruction all work.

 

rpt = New ReportDocument

rpt.Load(strFileName))

rpt.PrintToPrinter(Copies, True, 0, 0)

 

Seems the load function not refresh data inside if I load the same report.

Are there a property to force this without create a new object every time ?

 

Thanks Filippo


Viewing all articles
Browse latest Browse all 3636

Trending Articles



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