Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sharing Tables across Forms
Message
De
10/08/2006 00:19:42
 
 
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:
01144417
Vues:
15
>Would CURSORTOXML() and XMLTOCURSOR() work for you? Check also How to pass cursor between two VFP datasessions (without using XML) FAQ #29297

I thought about using an object (new property at the _screen level) and moving via this by a scatter/gather as in FAQ 29297.

Rather, I think I like your idea of using CURSORTOXML and XMLTOCURSOR. My thought is to define a custom class which has a collection property for each form to register with at Init and unregister at Destroy. This gives a handle back to each form's datasession. Another property would be defined with an assign method -- this assign method would handle updating each form's datasession. Each form would then assign the XML to the property which then moves it to the other forms.

See any holes, problems?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform