>
> canfox
>
> I'm trying to mass print two crystal reports at the same time. I'm almost there but I need a way to close the connection to the report before I use the OpenReport() command. Does anyone know how to do this?
>
> oCR = CREATEOBJECT("CrystalRuntime.Application")
> oRpt = oCR.OpenReport("ClientInvoice.RPT")
>
> IF oRpt.HasSavedData
> oRpt.DiscardSavedData()
> ENDIF
>
> oRpt.PrintOut(.F.)
>
> Need somehing here to close the report so I can reopen it to read the newest table info.
canfox
Nevermind, I figured it out.
Just have to set the object = null.