Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement