Hi Chaim,
>how can I do it with more than one parameter?
Apart from the idea already suggested there are a couple of other solutions which are often used:
1. Create an object with required values as properties and pass that back.
2. Hide the form (which will pass control back to the calling point) then access it's properties/contents as required and release it from there. e.g
DO FORM NAME myForm
result1 = myForm.Text1.Value
result2 = myForm.SomeProperty
myForm.Release
HTH,
Viv