Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printed document after viewing
Message
 
 
To
27/03/2006 00:00:33
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01107850
Message ID:
01107881
Views:
18
>
>How would you know if someone have already printed a document after viewing it in the report preview toolbar?

Not directly but you can create variable llPrinted in your program and set it to .T. in the report
* Report Summary band on Exit.
*_VFP.SetVar("llPrinted", WEXIST("Printing..."))
VFP.SetVar('lPrinted', SYS(2040)="2")
...
* Program
llPrinted = .F.
Report Form myreport to Printer Promp Preview
IF llPrinted
   ...
ENDIF
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform