Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can cursors be passed from Form A to B?
Message
From
26/11/2011 04:18:33
 
 
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:
01529828
Views:
182
This message has been marked as the solution to the initial question of the thread.
>Hi Experts,
>
>Can I pass a cursor created from a called form back to a calling form? Both have Private DataSessions.
>
>Thanks
>Dennis

Sure,

Called form passes a string to the calling form
String = cursorToXml( ) be sure to include the schema

Calling form: XmtToCursor()

No need to switch datasessions

If you do want to switch datasessions - be careful - grids may lose their recordsource
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform