Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field Rotation with ReportListener
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Miscellaneous
Thread ID:
01358843
Message ID:
01359117
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform