Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Listener Data Session Problem
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01355732
Message ID:
01356999
Views:
22
>I don't know how to more clearly explain the behavior I'm seeing.
>
>Like I said, the moment I step into Listener.RunReports, before any listener code runs, the data session changes, so the report's data is no longer available. I don't see where I would change anything, because it changes the data session before the first line of code runs. No SET DATASESSION command has yet been run.


- Is this the VFP Base Report Listener .. or some other Listener.
- How are you running the report listener? Direct instantiation .. indirect instantiation .. something else?
- How did you "step into Listener.RunReports"? If you put code in the RunReports method .. and didn't use NODEFAULT(), you may be changing the behavior.
- What about the INIT method of the Listener .. that would run before RunReports?
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
Next
Reply
Map
View

Click here to load this message in the networking platform