The form called must have this properties:
.WindowType = 1 && MODAL
.vRetVal = v && where v is a constant with the same data type of the value to return
If your form receive parameters,
In the INIT Event:
LParameters vParam1, vParam2, ... ,vParamNTo return a value,
In the Unload Event:
Return This.vRetValAnd... in some place (method or event)
Thisform.vRetVal = vValueToReturnGood Luck
Esteban
Lic. Esteban Bruno
Gerente de Sistemas
TASSO S.R.L.