I did trials to learn VFP. In form1, I issue "Do form form2" to activate form2. In form2, I want to change the value of form1.rtnvalue(a property of form1). I use "form1.rtnvalue = thisform.text1.value" in a click event of button in form2. After close form2 and return to form1, I found form1.rtnvalue remain the same. No error appears. I can change the value of a text box in form1 by "form1.text1.value = thisform.text1.value" in form2. I don't know what's wrong. Please give me some hints.
Thanks in advance,
S H
Siu-hung Lai