Information générale
Catégorie:
Programmation Orientée Object
LOL! I got 2 people suggesting this and one person saying it's unreliable and I shouldn't do it. :)
The best idea I've seen so far is to use a different object for the properties as for the methods. I think I'm gonna run with that one. I can't spend all day just trying to get this one picklist populated.
Thanks everyone for all of your help. I appreciate it.
Michelle
---------------------------------------------------------------------------------
>Ok, I see. You can add a new method to your object SwitchDS. This method will save current DS and set DS to passed DS. In form's destroy you will call RestoreDS() method of this object.
>
>How about this idea?
>
---------------------------------------------------------------------------------
>>The thing is that I wasn't _instansiating_ the object from the form at all. I was just calling it from there. It's a global object. That's what the problem was. But making it a local object makes it useless, so my only option is to give up on trying this n-tier thingy and going back to just talking to the data directly.
---------------------------------------------------------------------------------
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