Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field Rotation with ReportListener
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Divers
Thread ID:
01358843
Message ID:
01359117
Vues:
19
>I add a rotation field through using VFP9 SP2 report designer.
>
>Where I run :
>
>
>SET REPORTBEHAVIOR 90
>REPORT FORM REPORTS\TEST PREVIEW
>
>
>The Field Rotation is work perfectly.
>
>But When I run
>
>
>oRL = NEWOBJECT("reportListener")
>orl.ListenerType =1
>REPORT FORM reports\test OBJECT oRL
>
>
>Then the rotation is not working already. How to solve this problem?
>
>TIA.

Many of the new reporting features in SP2 are implemented with the use of listeners in the FFC directory. When you don't specifically indicate the listener, behind the scenes the VFP Report Writer actually invokes the appropriate listener from the _ReportListener class in the FFC directory. So it's not obvious as to how it's working.

If you want to create your own report listener and still have the SP2 features work, base your class on the fxListener class or one of the classes deeper in the hierarchy instead of the base VFP ReportListener class.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform