Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C5 Errors o Plenty
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00772803
Message ID:
00772921
Vues:
8
>
>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
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform