>Thanks, but I already knew it. What would be exactly my "Do Form" line command if i want to open a form named X, my parameter list is A, B, C whose C is linked (return must be return from X form)? Also, I want the value D be returned from my X Form. My Unload() function would seem like RETURN C, but waht about D !!! I've no examples of multiples parameters. :o( thanx
There are several alternatives.
The easiest way, I think, would be to pass the entire form as a parameter:
do form FormB with ThisForm
lParameters toParent
ThisForm.oParent = toParent
and then modify properties in the calling form from the child form:
with ThisForm.oParent
.Property1 = Value1
.Property2 = Value2
endwith
It may be necessary to destroy the reference to the parent form:
ThisForm.oParent = NULL
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)