Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know print job was completed successfully or not?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00662621
Message ID:
00663015
Vues:
29
Nadya, you advised Mark:

>How do you print it? Is it VFP report? If yes, you can do the following trick: put in the summary OnExit:
>
>_VFP.SetVar('PrintCompleted',wexist('Printing'))
>
>So, if your report would be printed till this point, this variable PrintCompleted would be set to true. You have to set it to .f. before each report invocation. Also make this variable private.


That would set one logical memory variable named PrintCompleted to .T.. I presume that you would then REPLACE a field in the table with based on the value in PrintCompleted.

Can this be done in the OnExit of the detail band to mark each record of a table as having been printed when a selected subset of the table is included in the report?

Thanks,
Randy Bosma
VFP - Because life is too short to code in something else...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform