General information
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only