Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can cursors be passed from Form A to B?
Message
From
28/11/2011 06:29:13
 
 
To
28/11/2011 06:12:24
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01529824
Message ID:
01529914
Views:
35
>>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform