Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
An easy one, I think
Message
 
To
26/03/1999 11:57:31
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00202418
Message ID:
00202460
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform