Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect if PREVIEW was printed
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00984439
Message ID:
01235356
Vues:
45
>>
>>You can do this:
>>
>>
>>llPrinted = .f.
>>REPORT FORM blah ....
>>
>>IF llPrinted
>>  more stuff
>>ENDIF
>>
>>
>>Add a summary band to the report and in the OnExit expression, put the following:
>>
>>
>>_VFP.SetVar('llPrinted', WEXIST("Printing..."))
>>
>
>Cathy,
>
>It will not work with REPORT FORM ... NODIALOG. It's better to use SYS(2040) function.
_VFP.SetVar('llPrinted', SYS(2040)="2")
Thanks, though this requires report's modification.

Is there a way to know which printer was selected in PROMPT dialog and was it cancelled or not?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform