Hi,
Try use _oreportoutput.item(1).
Or you can modify foxypreviewer.prg, part: * Create a PREVIEW listener
MartinaJ
>I have a report that needs to calculate some data based upon the reportlistener currentpass property. My UDF is called from the on exit expression in my group footer. Once in the UDF, I see that FoxyPreviewer creates a listener variable that looks randomly generated. When I created my own listener in the past, I had assigned it a variable upon creation and could reference that. FoxyPreviewer doesn't seem to do that. Does anyone know an easy way to reference the listener, or where the best place would be to add a reference to it in my application object at runtime?