|
-
August 14th, 2001, 11:49 PM
#1
Crystal report Problem
Hi gurus.
I wrote a dll which diaplay a crystal report.But when u call that function it display the report and automattically shut down.there is hardly any time to read this.Y is this?.How can i avoid this.
Follows the way i wrote my code
CrystalReport1.ReportFileName = GetPath(mpath) & "\reports\AmzCal.rpt"
CrystalReport1.DataFiles(0) = mpath & "\GCCPoints.mdb"
CrystalReport1.DataFiles(1) = mpath & "\Server.mdb"
CrystalReport1.Destination = crptToWindow
CrystalReport1.WindowState = crptMaximized
CrystalReport1.WindowLeft = 0
CrystalReport1.WindowTop = 0
CrystalReport1.Action = 1
Dinesh Asanka
-
August 17th, 2001, 12:13 AM
#2
Re: Crystal report Problem
i would like to know which version of crystal report u r using.
if it is crp 8 then use the
viewreport method .
-
August 17th, 2001, 07:13 AM
#3
Re: Crystal report Problem
i'm using Crystal report 7.But now i found strange thing.It is ok when u cal from VB.But the problem comes when u call that dll from VC.Any suggestion?
Dinesh Asanka
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|