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 03:48:41
 
 
To
28/11/2011 03:42:28
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
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:
01529905
Views:
36
>>Dragan,
>>
>>And note that the speed of XML drops squarely with its size. It being a text file, it just has to be parsed; the speed of parsing is beyond our control. So for larger datasets you may actually be better off with a temp table, or a collection of scatter name objects (and the dangling DS should be possible to solve by tablerevert()ing every cursor it has).
>>
>>Hi. How can a dangling DS happen in the case doing a collection of scatter name objects?
>>
>>Pardon my ignorance if this is a stupid question.
>
>Never happened to me that it could prove the scatter caused anything. Just mentioned it because others (Tamar, I think) said it's possible.

It's easy to test - did so last week

If form B has a private datasession
- it creates an object (other than the onces that have private datasessions)
- then puts that object in Form A
- then releases

you will see an unknown datasession, that will disappear as soon as you set the object in form A to null
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform