Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Do I cancel Print with .crReport.PrinterSetup(0)
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Titre:
How Do I cancel Print with .crReport.PrinterSetup(0)
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00961420
Message ID:
00961420
Vues:
105
I'm printing a Crystal report from Visual Foxpro useing the following code:
.crReport.PrinterSetup(0)
.crReport.PrintOut(.f.)

However, when I click the cancel button on the .crReport.PrinterSetup(0), the report prints anyway. What is the code to check for a return value and only print if true?

Thanks,
T
Répondre
Fil
Voir

Click here to load this message in the networking platform