Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can cursors be passed from Form A to B?
Message
De
26/11/2011 04:18:33
 
 
À
25/11/2011 21:57:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01529824
Message ID:
01529828
Vues:
181
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform