Crystal Report - ayuda vb con crystal report 9

 
Vista:

ayuda vb con crystal report 9

Publicado por Alan Montoya (1 intervención) el 11/06/2007 20:00:01
disculpen yo sabia que para unir mi reporte con vb en crystal report 6 era asi:

CREPORT.ReportFileName = App.Path & "\REMISION.rpt"
CREPORT.Destination = crptToWindow
CREPORT.WindowParentHandle = IMPRE.hWnd
CREPORT.WindowWidth = 730
CREPORT.WindowHeight = 500
CREPORT.WindowTop = 58
CREPORT.WindowLeft = 0
CREPORT.Action = 1
CREPORT.PageZoom (75)

pero ahora estoy manejando crystal report 9 y no me deja, SI ALGUIEN ME PUDIERA DECIR COMO SE HACE LA SINCRONIZACION PARA LLAMAR EL REPORTE DENTRO DEL FRAME LO AGRADECERIA
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:ayuda vb con crystal report 9

Publicado por Alberto (15 intervenciones) el 13/06/2007 02:50:46
Alan:

Primero referenciar :
Crystal Report Viewer 9 Type Library
Crystal Reports 9 ActiveX Designer Run time Library
Crystal Query Viewer 9 Type Library

Segundo, donde lo vayas a llamar (la forma en donde lo despliegue)

Dim Aplicacion As New CRAXDRT.Application
Dim Reporte As New CRAXDRT.Report
Set Reporte = Aplicacion.OpenReport("Nombre Reporte")
MousePointer = vbArrowHourglass
Reporte.DiscardSavedData
Reporte.EnableParameterPrompting = True
CRViewer91.ReportSource = Reporte
CRViewer91.Refresh
CRViewer91.ViewReport
MousePointer = vbDefault

Y listo, espero te sirva.

Atte.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar