LOCAL olistener * get a reference to the HTMLListener class DO (_reportoutput) WITH 5, olistener * or you can directly instantiate the HTMLListener * from the FFC _reportlistener.vcx * olistener = NEWOBJECT("HTMLListener", ; * HOME(0)+"ffc\_reportlistener.vcx") * turn off UI feedback and user prompts at end of run olistener.quietmode=.T. * specify my own filename and location olistener.targetfilename = "c:\htmltest.htm" * run a report referencing the configured listener REPORT FORM (_samples+"solution\reports\ledger.frx") ; OBJECT olistener * show result in the browser RUN /n Explorer.exe c:\htmltest.htm