Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know print job was completed successfully or not?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00662621
Message ID:
00663015
Views:
28
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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform