Print Page | Close Window

Older version of report

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=4132
Printed Date: 04 May 2024 at 12:55pm


Topic: Older version of report
Posted By: derach2000
Subject: Older version of report
Date Posted: 02 Sep 2008 at 7:05am
Hi,
I have some reports that were made with crystal reports 7.0
When I add them to my project vs converts them to the new crystal version.
Problem occurs when I try to print the report nothing happens.
I can't get the exception because I don't the type of exception.
Has anyone encountered a similar problem, or could anyone pint me in the right direction.
Thanks
 
p.s.
I'm using print without preview
report.PrintToPrinter(1, false, 0, 0);
it works fine when I embed it in a preview form



Replies:
Posted By: hilfy
Date Posted: 09 Sep 2008 at 4:05pm
There are a number of reasons why this could be happening.  Do you have the full version of Crystal in addition to the one embedded in Visual Studio?  If you do, I recommend opening the old reports in Crystal itself, doing a "Set Location" to the same datasource with a connection you open in the new version of Crystal so that the database driver in the report gets updated, and having Crystal convert them to the new version, then add them to your project.
 
What type of database are your reports connecting to?  We ran into problems upgrading from 8.5 to XI with an Oracle connection, mainly because we'd edited the SQL in the 8.5 reports to remove the schema owner.  We had to manually recreate all of our reports (180+) so that they'd work in XI.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window