Link to home
Start Free TrialLog in
Avatar of ashakil
ashakil

asked on

Crystal Report

How to make Crystal Report in Visual Basic 6.0?
Avatar of yjt
yjt

You mean calling Crystal Report from Visual Basic 6.0?
If this is what you mean,
After creating the data file to bind in Crystal Report, add the Crystal Report OCX control, eg name it crpReport.

To call the report from VB6:

crpReport.ReportFileName = "C:\Test\MyReport.rpt"
crpReport.Datafiles(0) = "c:\Test\Test.mdb"
crpReport.Destination = crptToWindow
crpReport.Action = 1

 
ASKER CERTIFIED SOLUTION
Avatar of Milano
Milano

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Milano

Crystal report is in VB6
but it is not installed automatically

you can find it in CD #3
In install CD #3 is installation for Crystal Reports 4.6.

Or u can download Crystal Reports 6 from http://www.seagatesoftware.com/products/crystalreports/getit_rdc/d.asp
this is free version. This is only Crystal Reports Designer for VB6. But u can load .rpt files into CRDesigner.