Reporte Crystal
Estoy jalando desde Visual Basic 6.0 un reporte hecho en Crystal 8.0 con mis datos de una base de Access sin contrase帽a. Al desplegar el reporte me sale el mensaje "El servidor a煤n no ha sido abierto" y no me actualiza los datos del reporte. El c贸digo que estoy usando es el siguiente:
Private Crystal As New CRAXDRT.Application
Private Reporte As New CRAXDRT.Report
Private Sub Form_Load()
Set Reporte = Crystal.OpenReport(App.Path & "Ventas7.rpt")
Reporte.DiscardSavedData 'Pide datos inicialmente
CRViewer.ReportSource = Reporte
CRViewer.ViewReport
End Sub
No se si me falta alguna instrucci贸n mas pero el que me pueda ayudar lo agradezco desde ya.
Private Crystal As New CRAXDRT.Application
Private Reporte As New CRAXDRT.Report
Private Sub Form_Load()
Set Reporte = Crystal.OpenReport(App.Path & "Ventas7.rpt")
Reporte.DiscardSavedData 'Pide datos inicialmente
CRViewer.ReportSource = Reporte
CRViewer.ViewReport
End Sub
No se si me falta alguna instrucci贸n mas pero el que me pueda ayudar lo agradezco desde ya.
