do form SecondForm with MyVar1, MyVar2In the INIT method of the second form, you have a PARAMETERS line, which 'receives' the passed parameters and stores them to form properties:
SecondForm.INIT method: PARAMETERS MyVar1, Myvar2 thisform.icMyVar1 = Myvar1 thisform.icMyVar2 = Myvar2Please note that the variables Myvar1 and Myvar2 are local to the INIT method. They will go out of scope as soon as the form completes the INIT method. That is the reason for making the form properties and putting the variable information into them. Once this information is in the form property, you can refer to it from any method in the second form.