Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can cursors be passed from Form A to B?
Message
De
27/11/2011 08:00:42
 
 
À
26/11/2011 20:10:55
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:
01529877
Vues:
42
>Koen,
>
>What I want to achieve is this:
>
>Say an invoice form needs to call a lookup form of items. When item lookup form comes up, it allows users to select several item records. I would like for the selected item records be passed back to the invoice form in the form of a cursor.
>
>Currently, my lookup form class only allows a single selection, which I dump into the calling form as a data object (SCATTER MEMVAR NAME oCallingForm.Returndata )
>
>Thanks!
>Dennis


oCallingForm.Returndata could also by an array or a collection. That way you can scatter name more than once and return more than one record

But remember the dangling datasession
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform