Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interrupt a Long Report
Message
De
07/01/2005 15:13:14
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
À
07/01/2005 14:52:46
Jean Haidar
Arkansas Blue Cross/Blue shield
Little Rock, Arkansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00975235
Message ID:
00975243
Vues:
13
>How can we programmatically gnerate an ESCAPE to Stop a Report that is sent to
>a PDF Writer?
>
>We can stop by Setting Set ESCAPE ON, then when the Report start spooling, Manually Pressing Escape will stop it.
>
>Is there way to stop it programmatically. The reason for this because a Method in a class is called from a Web Service.
>
>we created a test with a timer class by inserting KEYBOARD "{ESCAPE}" in the Timer Event,
>but timer event stop execution as soon as 2nd line of code below start spooling pages:
>
>
>*-- Send it to Amyuni PDF Converter
>oPDFPrinter.DefaultFileName=tcPdfName
>REPORT FORM &tcRptName TO PRINTER NOCONSOLE NOWAIT
>*-- Next line of code
>
>The objective is to defect if "Report form" is taking more than 2 minutes then stop it and continue to the next line code.
>
>
>
>Any help would be appreciated!

Jean,

Just an idea, but could you limit the size of the report you'r generating? Maybe generate it from a cursor created with a query with a where clause referring to the RECNO()?

HTH,
Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform