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

Re: Crystal Reports locks the program that is running the report on Windows 7

$
0
0

Remove this line:

 

rpt.Database.Tables.Dispose();

 

You are setting the report to a dataset: 

 

RPT2.SetDataSource(ds);

 

So Database.Tables is not in play at all. If you want to dispose of the data, you's be closing and disposing the dataset, not Database.Tables.

 

 

 

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

  Follow us on Twitter


Viewing all articles
Browse latest Browse all 9129

Trending Articles



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