dineshasanka
August 14th, 2001, 11:49 PM
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
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