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 08:18:49
 
 
À
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:
01529833
Vues:
67
>Can I pass a cursor created from a called form back to a calling form? Both have Private DataSessions.

You heard some advice on giving access via set datasession, which is probably the way to go
if you need tabular access in any kind for seek() or other table based commands.

If you want to access aleady filtered data set in a "multirecord control", the fastest way
IMHO is to move the data from the calling form into an array with copy to or select into array,
perhaps using that array as datasource for a list/combobox.
You might consider rethinking your approach or at least give more info.
The basic idea of "private datasession" is to isolate those tables <g>.

regards

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform