Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do form ...
Message
From
07/06/2002 07:35:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
07/06/2002 07:29:30
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00665852
Message ID:
00665857
Views:
21
This message has been marked as the solution to the initial question of the thread.
>Hi
>
>How can i do :
>
>DO FORM Form2 WITH par1 , par2 TO cVar1 , cVar2
>
>I want have two return values , cVar1 , cVar2 .
>
>Thanks

You can't directly, but some workarounds exist.

For instance, you can pass the first form as a parameter to the second form, and modify the properties of the second form in the first:
* Form1, button click
do form Form2 with ThisForm

* Form2, Init()
lparameters toCallingForm
ThisForm.oCallingForm = toCallingForm

* Form2, pass "parameters" back
ThisForm.oCallingForm.MyParameter1 = (SomeValue)
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform