Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lingering Datasessions
Message
From
27/04/2004 14:54:05
 
 
To
27/04/2004 13:55:56
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00898598
Message ID:
00898656
Views:
18
Bob - thanks for the tidbit. I checked every one of my SCATTERS and came up with nothing, but I did find the cause the old fashioned way - comment out code until it works!

The problem was buried waaaayyyy down in an old Active-X subclass I used on the form. I was using FOR-EACH to loop through a local reference to the listviews items collection. The control was known to leave references to the form if you navigated through the collection directly, so I moved it off to a local variable (on a tip for Jim Saunders). That seemed to solve the problem, until today <g>. The variable reference allows the form to release, but puts the datasession in limbo.

Now - 1000 times - "I promise I'll never use a for-each in a production application, I promise I'll never use a for-each in a...."

Thanks for the assistance!
~Erik Folley
Previous
Reply
Map
View

Click here to load this message in the networking platform