>Hi All,
>
>Am I dreaming or is there a way to encapsulate
>data from tables in a custom object?
>
>What I would like to do is have my custom object
>open some tables associated with it in a private
>data session that would be visible only to the
>object itself.
>
>The object would open its related tables upon
>instantiation.
>
>I have tried creating a DataEnvironment object on
>the fly with success, but there does not seem to
>be a way of opening tables inside it on the fly...
>
>Anybody has done something similar?
>Anybody has ideas?
>Am I dreaming here ??? ;)
>
>Thanks in advance
>Pascal
Hey Pascal. The DE has init and destroy procedures you can tailor. I'm not sure you can create your own DE class. As far as the data being visible to the object only, you can protect the variables that hold the information. Is this what you are trying to do?
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