Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can cursors be passed from Form A to B?
Message
De
25/11/2011 22:41:13
 
 
À
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:
01529825
Vues:
98
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform