On Microsoft's website I see this to produce an HTML file from a report
ERASE MyHTMLOutput.HTM
SET CLASSLIB TO HOME() + 'FFC\_REPORTLISTENER'
ox = CREATEOBJECT('htmlListener')
ox.TargetFileName = 'MyHTMLOutput'
REPORT FORM accounts OBJECT ox
>Mike,
>
>Can you explain how this statemant may fix the problem ?
>reportlistener base class cannot create html output. frxoutput.prg use other class for this.
>
>>Try using this before.
>>
oListener = CREATEOBJECT('reportlistener')
>>
>>>Mike,
>>>
>>>>I must be blind, but in your code where do you create the oListener
>>>>Local oListener means you instaciate a variable oListener to .F. but that is about all I see.
>>>
>>>Here is the line which obtains olistener object reference:
>>>
>>>
DO frxoutput WITH 5, olistener