Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can cursors be passed from Form A to B?
Message
De
28/11/2011 17:32:59
 
 
À
27/11/2011 19:51:48
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:
01529937
Vues:
121
>Koen,
>
>I don't quite get it. How can a cursor created in the lookup form, which has a private datasession, instantly can be seen in the calling form, also with another private datasession? Wouldn't the cursor close after the user closes the lookup? Fabio, I believe, hit it right by saying it should be a table.
>
>I am with Thomas on this one,
>create a cursor in your lookup form - in the same datasession as your main form - and the cursor is available in your main form.
>
>This should work. If not completely clear come back.

>
>Thanks!
>Dennis


Dennis,

please read my tip correctly: I typed "in the same datasession"

Why do you change datasession anyhow for such a thing?
Leave everything in the default datasession. There is in my opinion no need at all to change.

Regards,
Koen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform