Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Preview Report Problem
Message
De
19/07/2000 13:38:07
Walter Meester
HoogkarspelPays-Bas
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00394407
Message ID:
00394413
Vues:
13
Mark,

It seems that your loCrystal variable goes out of scope, therefore releasing the preview and the crystal object as well.

Walter,

>I have a Crystal Report that I am trying to have appear in a preview window from within my application. It works, except that it only stays on the screen for a moment, and then closes. I see the report, but how do I get the CR preview window to stay open until the user decides to close it? Here's the code I have now:



>
>loCrystal = CREATEOBJECT('Crystal.CrystalReport')
>WITH loCrystal
>  .ReportFileName = 'reports\summary.rpt'
>  .Destination = 0
>  .PrintReport()
>ENDWITH
>
>
>
>Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform