Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancelled report
Message
 
 
À
16/01/2001 23:26:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00464536
Message ID:
00464806
Vues:
12
>When run a report ie.
> Report Form Myreport.frx To Printer Prompt Noconsole
>
>How to know if the user press the Cancel button when VFP prompts for Printer and the report is cancelled

You can use:
lcPrinter = GetPrinter()
if empty( lcPrinter )
   * User cancelled
else
   Report Form Myreport.frx To Printer Name ( lcPrinter ) Noconsole
endif
Please check the syntax. I wrote it just here, but you get the idea.

Hope this helps.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform