Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Parameters
Message
From
10/11/2000 18:09:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Passing Parameters
Miscellaneous
Thread ID:
00440572
Message ID:
00440572
Views:
39
Hi,

I want to pass three parameters from one form to another form and expect one value to be returned to the caller form.

In the command button on form1 I have the following code.

PUBLIC cValue

cValue = ""
DO FORM c:\temp\form2.scx with "abc", "123", cValue
This.parent.text1.value = cValue


In the init() of form2 I have the following.
Lparameter pass1, pass2, pass3
PUBLIC rtnVal

In the OK command button of the form2 I have the following..
rtnValue = "TEST"
ThisForm.release

In the Unload event of form2 I have..
RETURN rtnValue

After I ran it, I expect cValue to return "TEST" instead of "". What am I doing wrong?

Please help!

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform