I read your responses to the CALLING IN THE A CRYSTAL REPORT IN VB 6 but I need a little more help. Like was is CRAXDRT support to represent.
You need to add the Crystal Report Control and Viewer to your project. You do that under the Projects/components/reference.
Then here is an example of code that calls in the crystal viewer:
Dim crxApplication As New CRAXDRT.Application
Public Report As CRAXDRT.Report
Dim crxDatabaseTable As CRAXDRT.DatabaseTable
Dim crxParameterField As CRAXDRT.ParameterFieldDefinition
Dim crxFormulaField As CRAXDRT.FormulaFieldDefinition
Set Report = crxApplication.OpenReport _
(“E:\PLTERA\CRYSTAL REPORTS\HAULER REPORTS\Contract Haulers Report.rpt”, 1)
frmViewer.Show vbModal
On the form that has the viewer, here is a sample of the code for it:
Private Sub Form_Load()
‘Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = frmReports.Report
CRViewer1.ViewReport
End Sub