Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning multiple values from a form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00402652
Message ID:
00402770
Views:
11
Nigel, will the references to those variables be preserved once the Init is done processing for the form? I didn't think that they would. So there is no way to get at the variables downstream. You can store an object reference, but not a variable reference, within a form property (so I thought).

Given:

Do form myForm with @ReturnVal1

In the Init:

Param ReturnVal1
Thisform.HoldReturnVal1_Reference= ??????
(no way to do it; you can only store the value of the variable).

>I'd actually use @ReturnVal1, @ReturnVal2 instead of sending the names as strings.
>
>>May sound old-fashioned, but you can always pass parameters into a form by reference in a bit of a quirky way:
>>
>>given that ReturnVal1 and ReturnVal2 are to be given some value within the form's logic:
>>
>>Do form myForm with "ReturnVal1", "ReturnVal2"
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform