Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if user cancelled print?
Message
De
21/12/2006 13:09:30
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01179595
Message ID:
01179618
Vues:
7
>>>Is it possible to determine if user clicked/selected to cancel report printing? The report is called with TO PRINTER PROMPT.
>>
>>See thread #644779
>
>Thank you, Tore.
>
>What do you think about another approach I thought about. I can compare the report cursor/table record number before and after the REPORT FORM and if it didn't change, user clicked on Cancel?

That might work, unless the report resets the record number, I really don't know. Anyway, it will not work if you only have one record in cursor/table which drives the report. Another approach is to create a property, for instance _screen.lPrinted, which you set to false before you start the report, and set to true in the footer of the report.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform