Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if the user printed from the preview ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00111544
Message ID:
00111890
Views:
18
>>>Hello to everybody, I've been out for a long time, but I'm
>>>back.
>>>Somebody knows a way to check if user clicked on the
>>>print button while previewing a report ?
>>>I use to do this in the old days :
>>>
>>>REPORT FORM MyReport PREVIEW NOCONSOLE
>>>REPORT FORM MyReport TO PRINTER PROMPT NOCONSOLE
>>>
>>>But now I in 5.0 the user can print from the preview, and
>>>when that happens I don't want the second line of code
>>>to be executed
>>>=this.thanks("in advance")
>>
>>Probably, now you can just remove the second line :). If your users will request to get into print setup dialog, you can add a button with =SYS(1037) on your form.
>
>Thanks Edward, your idea is good, but they want to have both,
>lets say that after previewing they click on cancel by mistake,
>they still want to be able to print without running the
>report again.

If you keep report cursor, they can print report again without rerunning report query.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform