Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sharing Tables across Forms
Message
De
10/08/2006 00:04:54
 
 
À
09/08/2006 19:39:16
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01144322
Message ID:
01144415
Vues:
17
>I use a technique I call conditionally private data sessions. If a form (lineitems) is summoned from a parent form (invoice) the child form adopts the datasession of the parent form, conditionally opens and leaves open the line items cursor and saving is handled by the parent's datasession.
>
>Lookup forms are not children in that sense. They save data to their tables.

This is not a child form -- it is the exact same form being called multiple times. Each time the user (in this case a VFP developer) would open a different file. The form is a menu editor -- you may want to have multiple menus open and copy-paste between them which is a reasonable request. The cursors are the same alias names; hence, a private datasession is required. So how to share between forms with private datasessions?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform