>Hi! Guess what: I got a problem! :o) Because there's no good examples on VFP Help, I would like a "full" example of the DO FORM function with words WITH, TO, LINKED, etc. In my case, my parameter list contains A and B (only B must be linked). The form called must return B and C (as I said, B was linked but here I want C value too, created in form called!) I hope it's plane to you! lol Thanx a lot
FormA calls formB:
MyValue = 5
do form FormB with MyValue to ReturnValue
ThisForm.DoSomethingWith(ReturnValue)
If you want FormB to return a value, FormB has to be modal.
FormB returns the return value in method Form.Unload(), if I remember correctly.
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)