Information générale
Titre:
Cannot return value from custom class
I've created a custom class visually that has a method that takes 4 parameters; two are objects and two are variables.
I dropped the class on a form and invoke its method from a command button, passing the four parameters.
The objects come back properly modified by the method, but the variables come back in their initialized state. I've displayed the variables on the last line of code in the method and they do have the correct values there. I also noticed that in the form, the method code box for the object has an LPARAMETER line with my parameters. My first line of code in the object method is a PARAMETER statement. Why is that? How can I get the values of the variables back to the form?
Thanks
Jay
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