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:
00609902
Vues:
16
>>>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

Great, they surely do except that we haven't switched yet :) Anyway, I see, how it could be done. I need to think, do I want to do it or not? Then I need to somehow modify all reports (100 or more)...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform