Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report listener object is not created
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01076669
Message ID:
01077791
Vues:
47
On Microsoft's website I see this to produce an HTML file from a report
*-- Make sure the HTML file doesn't exist
ERASE MyHTMLOutput.HTM

*-- Create the Listener class
SET CLASSLIB TO HOME() + 'FFC\_REPORTLISTENER'
ox = CREATEOBJECT('htmlListener')

*-- Set some properties
ox.TargetFileName = 'MyHTMLOutput'

*-- Run the report
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform