>Estimado Hilmar
>
>Estamos intentanto usar Crystal Reports para nuestro sistema y me encontré esta rutina
>
>oCR = CREATEOBJECT("CrystalReports11.ObjectFactory.1")
>oRpt = oCR.OpenReport("e:\sai-sql\bdmae000.rpt")
>IF oRpt.HasSavedData
> oRpt.DiscardSavedData()
>ENDIF
>oRpt.Preview
>
>Pero en la segunda línea nos da un error:
>
>OLE error 0x80020006: Nombre desconocido
>
>Sabes tú cuál puede ser el problema
>
>Gracias nuevamente
Nunca usé Crystal Reports. Pero supongo que hay que revisar si el método .OpenReport existe, y está bien escrito.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)