Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: Crystal report database connectivity Post Reply Post New Topic
Author Message
venesh_b
Newbie
Newbie


Joined: 26 Feb 2009
Online Status: Offline
Posts: 2
Quote venesh_b Replybullet Topic: Crystal report database connectivity
    Posted: 04 Mar 2009 at 1:28am
Iam using Crystal report 8 with VB 6, Access 97.

I designed a using Seagate Crystal report and linked it to the mdb file through

Data Explorer >> Database Files >> Find Database Files.

and invoked the report from Vb as

CrystalReport1.ReportFileName = "<Absolute Report Path>"
CrystalReport1.ReportTitle = "<Title>"
CrystalReport1.DataFiles(0) = "<db.mdb>"
CrystalReport1.Connect = "<connection string>"
CrystalReport1.ParameterFields(0) = "<Paramname; value; true>"
CrystalReport1.WindowState = crptMaximized
CrystalReport1.PrintReport

The report was displayed successfully without title

Later I took the exe, report, mdb files and some dll files
(crystal32.ocx, crpe32.dll, msvcrt20.dll, ctl3d32.dll, implode.dll etc)
to a different system which did not have Seagate crystal report, and

tried but the result is a blank report was opened and closed immidiately.

A report without database is displayed successfully but is failing with database.

Please kindly help me in this regard.


Thank You
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 09 Mar 2009 at 11:57am

Did you just copy the exe or did you create an install program?  You have to have the Crystal runtime engine installed anywhere you want to run reports.  I'm not sure how to do this for VB6.  With Visual Studio .NET, you include the Crystal merge modules in the install to handle the runtime.

-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.012 seconds.