Hi,
you need to catch the CancelReport event. If you catch a report cancelation, you have to supress (NODEFAULT) Reportlisteners AfterBand event
Agnes
>Hi All,
>
>
>
>I want to quit the rendering of report in the middle of its work in VFP 9.0 using report listeners when Escape Key is pressed.
>
>
>
>i tired using the SET ESCAPE ON and ON ESCAPE i was not sucessfull.
>
>
>
>Please advice me in this.
>
>
>
>Thanks in Advance
>
>
>
>Thanks
>
>Venkatram
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]