Darren,
I don't think you should be calling UnloadReport Event. What're you trying to acomplish?
>I am using VFP 9 with the new reportlistner and I can preview on the screen no problem but when I try to print it out I get the error "Variable 'BASECLASS' is not found" (source code is not available).
>I have tried closing the listener object and resetting the _reportoutput (as shown below) but nothing helps.
>
>
>thisform.mlistener.unloadreport()
>thisform.mlistener=null
>_REPORTOUTPUT=HOME()+'ReportOutput.app'
>
>Select reportdata
>Report Form (Thisform.mpath+Thisform.mfile_name) To Printer Noconsole
>
--sb--