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