Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6.0 - REPORT FORM... PROMPT
Message
De
25/01/1999 10:19:46
 
 
À
25/01/1999 10:07:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00179804
Message ID:
00179810
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform