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:50:44
 
 
To
25/11/2011 22:41:13
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:
01529826
Views:
78
Greg,

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.

I take it that SET DATASESSION TO lets you switch data sessions, how can I now pass whatever data is inside a certain cursor over to the other side?

Thanks
Dennis
Previous
Reply
Map
View

Click here to load this message in the networking platform