Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lingering Datasessions
Message
De
27/04/2004 14:54:05
 
 
À
27/04/2004 13:55:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00898598
Message ID:
00898656
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform