Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dangling Datasessions Left After Running Report
Message
 
To
05/09/2008 11:30:29
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01345137
Message ID:
01345896
Views:
10
>I just tried something (based of a thread on Foxite) which seems to have fixed this (?)
>
>1. I saved the datasession of my form (which has the private datasession)
>2. I switched to Datasession 1 before I create my listener objects and successors
>3. I then switch back to the datasession I started with before I issue the REPORT command
>
>The report runs, and there is no dangling datasession after I exit the form. If this is working (still testing this), I wonder if listeners have some sort of presence in or want to work in datasession 1, and get stuck when they are created in any other datasession...

Thanks Rick!! I tested this theory in my app and it seems to have solved the problem. I blogged about it .. .and gave you credit!
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