Hi Hugh,
Thanks. The use of the mline() functions seems like a great idea. I never thought of using it here. I had only thought of it in the context of manipulating a memo field. It looks to be easier than using an array.
David
>Hi David,
>
>I use all of the methods you described.
>
>The easiest is just to use the:
>
>
>m.ReturnString=''
>do formb to m.ReturnString
>
>
>and then concatenate a string of your return values (I like to use a chr(13) as the delimiter)
>
>Like this:
>
>
>m.ReturnString=''
>do formb to m.ReturnString
>
>if !empty(m.ReturnString)
> m.FirstName = mline(m.ReturnString, 1)
> m.LastName = mline(m.ReturnString, 2)
> m.WorkPhone = mline(m.ReturnString, 3)
>endif
>
>
>As for the problem you described where you pass a reference from the calling form to the child form, just set the calling form's object values in the [ Save ] button's click method. Then the calling form won't be updated unless you explicitly request.
>
>You're on the right track!!!
>
>Good luck!
>
>Hugh