Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6.0 - REPORT FORM... PROMPT
Message
From
25/01/1999 10:19:46
 
 
To
25/01/1999 10:07:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00179804
Message ID:
00179810
Views:
13
>I have the following command:
>REPORT FORM MyReport TO PRINTER PROMPT NOCONSOLE
>
>If I press ok in the printer dialog everything is ok but...
>I would like to cancel the program or do something else when the user select CANCEL from the printer dialog, is there any way?
>
>Any comments will be welcome, Thank you in advance.

You may reset some property-flag within the report for (e.g. by firing some UDF from Title/Summary band On-Entry/Exit).
oApp.Reportrun=.f.
Report Form Myreport NOCONSOLE TO PRINT PROMPT
IF oApp.ReportRun=.f. && still .F.- report wasn't run
*** do something here
ENDIF
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform