>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.