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 08:49:42
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
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:
01529920
Views:
59
>>>>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

Right, forgot that. Then even if it's assigned to a property of an object created in a different DS, it still exists. I wonder whether there's a way to avoid this. Or, OTOH, whether the dangling empty DS is any problem at all.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform