Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return Whether Report Printed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00521016
Message ID:
00609886
Vues:
12
>>Hi Nadya,
>>
>>I don't know of any other way other than to add an On Exit expression to the Summary band of each report.
>
>Hi Cathy,
>
>I've checked the logic of our Reporter application. It has a UDF called ReptRun.
>
>In this function the private variable is declared:
>abortprt = .f. && output not yet aborted
>
>So, my report should somehow set this flag to true, if report was canceled. The only way I see is to set it to .t. in Report's Title and reset back to .f. in Summary, which seems complicated...
>
>I'll think more about this option lately...
>

In the On Entry of the Title band, enter the following expression:
EXECSCRIPT('abortprt = .t.')
In the On Exit of the Summary band, enter the following expression:
EXECSCRIPT('abortprt = .f.')
That should do it!
Cathy
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform