Data don't refresh in report (with DataSet) 
Author Message
 Data don't refresh in report (with DataSet)

Hello,

I'm trying to create a report with the version of Crystal Report included in
Visual Studio.NET.

I design my report using data from a view.

At run time, I get the new data with a Dataset and I call the SetDataSource
method of the report..

The data displayed in the report preview are not up to date. They are like
they was at design time.

I tried to use this code to refresh data :
    crReport.Database.Tables.Reset()

    crReport.ReportOptions.EnableSaveDataWithReport = False

    crReport.Database.Tables(0).SetDataSource(MyDS)

    CrystalReportViewer1.ReportSource = crReport

But it doesn't work.

What's wrong ?

Please, help.

Thank you,

Chris



Sun, 06 Nov 2005 19:45:47 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Why data report don't refresh the data

2. Don't have Licence Information to use Data Report

3. Crystal Reports behaves strange (don't read data control)

4. Crystal Reports - Empty Data Fields Don't Show

5. Don't have Licence Information to use Data Reports

6. Data Report async show don't know how

7. Crystal Reports won't Refresh data each opening

8. Can't refresh data in crystal report 8

9. Data Report Refresh (not refreshing)

10. Refresh/Requery don't seem to work while doing file I/O

11. .asp Files Don't Refresh!

12. Subreport: cannot/don't know how to refresh subreport dbname thru VB Code

 

 
Powered by phpBB® Forum Software