>>>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