Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form problem
Message
 
 
To
23/10/2000 11:57:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00432931
Message ID:
00432957
Views:
27
>Hi Nadya,
>
>The textbox is not binded to any table. Can you give more details about the invoking of the second form and the passing of the data.
>
>
>Mun

Ok, this is the technique Mike Helland uses (As I understand it):

1) Save your form as a class (if it's not already)
2) In cmdButton click place this code (command button which invokes the form B):
oFormB=createobject('ClassFormB') && you may want to use NewObject instead
thisform.FormBTextValue=oFormB.text1.value && better save this value in a form property unless it's needed only in command button
oFormB.release()
release oFormB && Just to be sure

3) In FormB in Exit button put thisform.hide instead of thisform.release

HTH
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform