Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing values to another form.
Message
From
21/07/1998 16:28:25
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
 
 
To
21/07/1998 16:14:49
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00119709
Message ID:
00119864
Views:
15
Brad;
I think that if you want to use cParam1 in the Activate, you have to first assign it to a property of the form in order to make it available. So you would create a property called cPassedtext and then in the init of the form

LPARAMETERS cParam1

thisform.cpassedtext = cParam1

and in the Activate you would put

Thisform.text1.value = thisform.cPassedtext

HTH

>LPARAMETERS cParam1
>
>Then I call up in the activate
>
>Thisform.text1.value = cParam1 &&This assigns the value passed to the text box.
>
>But I still am getting an error that the parameters statement was not there.
>I am not sure what I am doing wrong and would greatly appreciate any advice.
>
>Thanks, Brad
***************************
Bruce Gilmour

"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein
Previous
Reply
Map
View

Click here to load this message in the networking platform