Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interactive Messageboxes
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00401589
Message ID:
00401609
Views:
39
Rodney,
The simplest way is to pass the calling form as an object to the modal form. Then you store the data back to the calling form.

1. Do NewForm with thisform && Sends the form object to the modal form (NewForm)

2. In the NewForm Init(), get the parameter and store it to a form property:
Init()
lparameter oCallingForm
this.OForm = ocallingForm (OForm is a form property you add)

3. In the Exit button
This.OForm.TextToUpdate.value = Thisform.NewTextEntered.value
thisform.release()

HTH
Barbara

>Hi Alex,
>
>Thanks for responding.
>
>I guess that's the trick I need...what code would I use to return the text typed in - say for instance to put the text in a textbox on the main form?
>
>(The reason I like this is that it forces the user to enter the ID number first, that way it's not so messy and the record he's working on is secure)
>
>Rodney
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform