Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return Whether Report Printed
Message
 
 
To
19/06/2001 11:11:37
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00521016
Message ID:
00521077
Views:
26
>>>>>Is there a way to determine whether the user actually printed a report in Preview mode? Like, if clicked on the Close button, return False, if clicked on Printer button, return True. Thanks!
>>>>>
>>>>>Regards, Renoir
>>>>
>>>>
>>>>You can call a UDF from the report.
>>>>
>>>>IF WEXIST("Printing")
>>>> * The user is printing the report
>>>>ENDIF
>>>
>>>Wouldn't it return True whether the report printed or was just previewed since the report runs either way? You may need to explain a bit further. You may recall that it takes TWO swipes with the the 2x4 across my forehead for some things to get through... :)
>>>
>>>Renoir
>>
>>
>>No. The "Printing" window is the one that's displayed when you actually send the report to the printer.
>
>See? Never more than twice... Thanks!

Hi Renoir,

I'm thinking, there are lots of tips about VFP Report Writer here in the forum and in some other places. May be we should create a document (or FAQ) with all these tricks combined...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform