AYUDA CON CRYSTAL POR FAVOR!
Publicado por George (2 intervenciones) el 18/05/2004 19:39:46
Tengo un problema al llamar un reporte hecho en CR8.5 desde VB6, el cual tiene un campo parametro. El error lo lanza en las lineas que estan dentro del bloque With...End-With
"Object doesn´t support this property or method"
El código es el siguiente:
> Dim arFecha As Integer
> arFecha = 2000
> Set crystal = New CRAXDRT.Application
> Set report = crystal.OpenReport("C:\Documents and
> Settings\George\Escritorio\SEC\rptEstudiantesCurso.rpt")
> With rpt1
> .ParameterFields.Item(1).ClearCurrentValueAndRange
> .EnableParameterPrompting = False
> .ParameterFields.Item(1).AddCurrentValue (arFecha)
> End With
>
> rpt1.ReportSource = report
> rpt1.ViewReport
Alguien podría ayudarme. '-.-
GRACIAS!
"Object doesn´t support this property or method"
El código es el siguiente:
> Dim arFecha As Integer
> arFecha = 2000
> Set crystal = New CRAXDRT.Application
> Set report = crystal.OpenReport("C:\Documents and
> Settings\George\Escritorio\SEC\rptEstudiantesCurso.rpt")
> With rpt1
> .ParameterFields.Item(1).ClearCurrentValueAndRange
> .EnableParameterPrompting = False
> .ParameterFields.Item(1).AddCurrentValue (arFecha)
> End With
>
> rpt1.ReportSource = report
> rpt1.ViewReport
Alguien podría ayudarme. '-.-
GRACIAS!
Valora esta pregunta


0