>I need to know if there is a way to return a value from a form with the code that is below, or if there is a better way to do this.
>
>oreport = CREATEOBJECT("myclass")
>oreport.show()
>
>Thanks a bunch,
>
>Jim
Jim, I assume you are going to do something in the form, get the value and then close the form. You can store the necessary value in the property of another object (i.e. application object which you do not release.) Sometimes I store necessary values in the oExchange custom object which is created as a mediator exactly for this purpose.
HTH,
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison