Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can cursors be passed from Form A to B?
Message
De
28/11/2011 06:29:13
 
 
À
28/11/2011 06:12:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01529824
Message ID:
01529914
Vues:
34
>>>>Hi. How can a dangling DS happen in the case doing a collection of scatter name objects?
>>>
>>>As objects are created in the scope of a data session,
>>>creating an object there and reusing it much later keeps the DS alive as there is still an object alive in it.
>>
>>Maybe then
>>
>>scatter name oOtherForm.oRecord
>>
>>would not create such a dependency. The object is supposedly created previously, so it already exists in the DS of oOtherForm.
>
>Think a scatter name always creates a new object

I guess the "additive" keyword is there to supress just that,
but I have never tested if it is really "additive" to an object (staying) from another DS
or if a new one is created and missing properties are copied over.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform