>this.oCR = createobject("CrystalRuntime.Application") >oReport = this.oCR.OpenReport(this.cReportName) >oPreview = createobject(this.cpreviewform) && VFPForm > >with oPreview > .oCR = this.oCR > .oCRReport = oReport > .PreviewReport(this.cReportName) > this.SetPreviewWindow(loPreview) > .show() && Crash >endwith >This shouldn't matter (eg. I don't think it will fix your C5 issue), but at some point I changed the order of that code. It should read:
with oPreview .oCR = this.oCR .oCReport = oReport This.SetPreviewWindow(loPreview) .PreviewReport(this.cReportName) .Show() && Crash endwith