Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: Older version of report Post Reply Post New Topic
Author Message
derach2000
Newbie
Newbie
Avatar

Joined: 02 Sep 2008
Location: Bosnia Hercegovina
Online Status: Offline
Posts: 3
Quote derach2000 Replybullet Topic: Older version of report
    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


Edited by derach2000 - 02 Sep 2008 at 7:09am
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3701
Quote hilfy Replybullet 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
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.030 seconds.