Solved

Crystal Reports Viewer does not print what it shows

Posted on 2009-07-10
1
340 Views
Last Modified: 2012-05-07
Hi Experts,

    I am pretty new to Crystal Reports.  I have an ASP.NET form that shows a Crystal Reports XI form.  I used an XML file of the actual database schema durring the development of the Report document.  At run time, from code, I pass the report data dynamically in a .NET DataSource to give it the data.  When I execute the code, the viewer shows the correct information in the web site.  However, when I go to print it, it will only print out the original data that I used (weeks ago) to create the report.  That data doesn't even exist in the database anymore.  It's like the report saved the original XML data in itself, and even though I pass it new data, it still uses the old data it got  from the XML file instead of using the datasource I pass it.  But once again, ihe viewer shows the correct data...it just prints the old stuff....I don't get it...  PLEASE HELP!!

Attached is i how I load the report!

Thanks,
axnst2
DataSet invoiceDataDS = DataAccess.GetInvoiceData(12);
 

CrystalReportSource1.ReportDocument.SetDataSource(invoiceDataDS);
 

CrystalReportViewer1.ReportSource = CrystalReportSource1;
 

CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.Pdf;
 

CrystalReportViewer1.DisplayGroupTree = false;
 

mvReport.SetActiveView(vwReport);

Open in new window

0
Comment
Question by:axnst2
1 Comment
 
LVL 7

Accepted Solution

by:
PCIRichard earned 500 total points
ID: 24824605
The 1st thing you can try is unchecking 'Save Data with Report' on the File menu. This should stop the old data showing.

Let me know if this still doesn't display the new data
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now