Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: Crystal Reports Error
Zimcoder, you are not giving any info here. Did you make installation of your app, or did you do it manually? Does this happend when you click on print button or.....? You can put some msgboxes in procedure that raises error, so you can know when does it raise an error. Maybe you are not specifying dbpath properly? For instance, if you have your rpt database path "C:\Projects\MyApp\dbName.mdb", report will look for it in same direcotory. If this is causing your error, place this in your code:
CR.DataFiles(0) = App.Path & "\dbName.mdb"
where CR is Cruystal report control.
____________________________
If you find the answer helpful, please mark this topic as solved.
|