Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cancelled report
Message
From
17/01/2001 13:44:43
 
 
To
16/01/2001 23:26:56
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00464536
Message ID:
00464806
Views:
13
>When run a report ie.
> Report Form Myreport.frx To Printer Prompt Noconsole
>
>How to know if the user press the Cancel button when VFP prompts for Printer and the report is cancelled

You can use:
lcPrinter = GetPrinter()
if empty( lcPrinter )
   * User cancelled
else
   Report Form Myreport.frx To Printer Name ( lcPrinter ) Noconsole
endif
Please check the syntax. I wrote it just here, but you get the idea.

Hope this helps.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform