Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can cursors be passed from Form A to B?
Message
From
25/11/2011 22:41:13
 
 
To
25/11/2011 21:57:26
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:
01529825
Views:
97
>Can I pass a cursor created from a called form back to a calling form? Both have Private DataSessions.

Not directly. You cannot pass cursors -- they are part of the datasession only. But what you can do is pass the form object. Then you can change the datasession to the other (first save the original datasession). Use SET DATASESSION TO to switch between them. But you cannot move data from one datasession to the other in the cursor -- it only resides in the creating datasession.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform