Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamics in the Report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01328255
Message ID:
01328798
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
>>>Hi everybody,
>>>
>>>I tried to use Dynamics formatting at the Report I worked on yesterday. I added a condition to show negative variance (report's variable) in Red.
>>>
>>>I never saw it in the Preview.
>>>
>>>Same problem with the trimming. I tried to use ... but it never showed up as well.
>>>
>>>Do you know what may be the problem?
>>>
>>>Using VFP9 SP2 very simple report.
>>>
>>>Thanks in advance.
>>
>>The Dynamics feature is implemented through the FXListener class in the _ReportListener class library in the FFC. You have to be sure that the report is run using that listener or a subclass of it.
>
>I found that setting REPORTBEHAVIOR 90 was enough to fix the problem, but I only tried it in IDE.

That would make sense to me. Without the 90 behavior, it's not using the ReportListener to run the report, thus the feature doesn't work. With the 90 setting, the default behavior of VFP 9 SP2 is to use the fxListener class (or a subclass) to run reports, thus, the feature works. FWIW .. the same is true of the new "Advanced" features in VFP 9 SP2.
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